0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-12-16 05:38:51 +00:00
2018-07-17 23:58:49 +02:00

16 lines
438 B
Bash

#!/bin/sh
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
. /etc/profile
SUNDTEK_ADDON_DIR="$HOME/.kodi/addons/driver.dvb.sundtek-mediatv"
if [ -f $SUNDTEK_ADDON_DIR/lib/libmediaclient.so ]; then
logger -t Sundtek "### Preloading library ###"
export LD_PRELOAD=$SUNDTEK_ADDON_DIR/lib/libmediaclient.so
else
logger -t Sundtek "### Preloading library doesn't exist ###"
fi