Merge pull request #5 from frebib/master

Fixes #1 by removing the vars.sh reference
This commit is contained in:
Adam Dodman 2016-08-29 20:07:10 +01:00 committed by GitHub
commit f0b9aefc82

View File

@ -20,12 +20,11 @@
if [ ! -d "$PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR" ] if [ ! -d "$PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR" ]
then then
@@ -19,14 +17,18 @@ then @@ -19,14 +17,17 @@
fi fi
fi fi
-export LD_LIBRARY_PATH="${PLEX_MEDIA_SERVER_HOME}" -export LD_LIBRARY_PATH="${PLEX_MEDIA_SERVER_HOME}"
+. <destdir>/lib/vars.sh
+export LD_LIBRARY_PATH="${PLEX_MEDIA_SERVER_HOME}:${GLIBC_LIBRARY_PATH}" +export LD_LIBRARY_PATH="${PLEX_MEDIA_SERVER_HOME}:${GLIBC_LIBRARY_PATH}"
export TMPDIR="${PLEX_MEDIA_SERVER_TMPDIR}" export TMPDIR="${PLEX_MEDIA_SERVER_TMPDIR}"