1
0
mirror of https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks.git synced 2025-09-03 13:12:44 +02:00

Fix library path (#392)

* Merge

* Fix LD_LIBRARY_PATH

* Fix LD_LIBRARY_PATH
This commit is contained in:
nik0
2018-05-30 22:44:14 +02:00
committed by Elias Kotlyar
parent b02df26f0d
commit e0e6710919
3 changed files with 4 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
PIDFILE="/run/v4l2rtspserver-master-h264.pid"
LOGDIR="/system/sdcard/log"
LOGPATH="$LOGDIR/v4l2rtspserver-master.log"
export LD_LIBRARY_PATH='/thirdlib:/system/lib:/system/sdcard/lib/'
export LD_LIBRARY_PATH='/system/sdcard/lib/:/thirdlib:/system/lib'
if [ ! -f /system/sdcard/config/rtspserver.conf ]; then
cp /system/sdcard/config/rtspserver.conf.dist /system/sdcard/config/rtspserver.conf

View File

@@ -2,7 +2,7 @@
PIDFILE="/run/v4l2rtspserver-master-mjpeg.pid"
LOGDIR="/system/sdcard/log"
LOGPATH="$LOGDIR/v4l2rtspserver-master.log"
export LD_LIBRARY_PATH='/thirdlib:/system/lib'
export LD_LIBRARY_PATH='/system/sdcard/lib:/thirdlib:/system/lib'
if [ ! -f /system/sdcard/config/rtspserver.conf ]; then
cp /system/sdcard/config/rtspserver.conf.dist /system/sdcard/config/rtspserver.conf