including LD_LIBRARY_PATH to libenet.so

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4845 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Rafael Barreto
2010-05-13 19:09:48 +00:00
parent 4a58ee381a
commit 5d11a678a9
+2 -1
View File
@@ -51,7 +51,8 @@ fi
if [ -x ${CUBE_DIR}/bin_unix/${SYSTEM_NAME}${MACHINE_NAME}client ]
then
cd ${CUBE_DIR}
exec ${CUBE_DIR}/bin_unix/${SYSTEM_NAME}${MACHINE_NAME}client ${CUBE_OPTIONS} "$@"
LD_LIBRARY_PATH=${CUBE_DIR}/source/enet/.libs
exec ${CUBE_DIR}/bin_unix/${SYSTEM_NAME}${MACHINE_NAME}client ${CUBE_OPTIONS} "$@"
else
echo "Your platform does not have a pre-compiled Cube client."
echo "Please follow the following steps to build a native client:"