Fixes #1 by removing the vars.sh reference

This commit is contained in:
Joe Groocock 2016-08-29 13:02:43 +01:00
parent 25cc0d4d21
commit 58369b60a0

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}"