install the Lua libraries on Mac OS and Linux

This commit is contained in:
Matthias Mailänder
2013-11-16 11:29:13 +01:00
committed by ScottNZ
parent d01ee2a75e
commit acd7efd957
2 changed files with 7 additions and 0 deletions

View File

@@ -25,6 +25,9 @@ cp *.sh "$PWD/packaging/linux/$ROOTDIR/usr/share/openra/" || exit 3
# Icons and .desktop files
make install-shortcuts prefix="/usr" DESTDIR="$PWD/packaging/linux/$ROOTDIR"
# Remove Mac OS X libaries
rm -rf "$PWD/packaging/linux/$ROOTDIR/usr/lib/openra/liblua-osx.dylib" || exit 3
cd packaging/linux
(

View File

@@ -21,6 +21,10 @@ cp -rv $2/* "OpenRA.app/Contents/Resources/" || exit 3
rm OpenRA.app/Contents/Resources/OpenRA.ico
rm OpenRA.app/Contents/Resources/OpenRA.Editor.exe
# Install the stripped down Lua library
cp ../../liblua-osx.dylib OpenRA.app/Contents/Resources/
cp ../../LuaInterface.dll.config OpenRA.app/Contents/Resources/
# SDL2 is the only supported renderer
rm -rf OpenRA.app/Contents/Resources/cg
rm OpenRA.app/Contents/Resources/OpenRA.Renderer.Cg.dll