Skip to content

Commit

Permalink
Build our own LuaJIT 2.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
napodan committed Nov 6, 2014
1 parent ccdcbe6 commit 884976d
Show file tree
Hide file tree
Showing 73 changed files with 12 additions and 20,951 deletions.
14 changes: 12 additions & 2 deletions win64/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,16 @@ then
mv libleveldb.dll bin/
fi

#LuaJIT
cd $OUT
if [ ! -f "_externals/luajit/src/lua51.dll" ]
then
mkdir -p _externals/luajit
cp -r $TOP/external/LuaJIT/* _externals/luajit/
cd _externals/luajit
make CROSS=x86_64-w64-mingw32- TARGET_SYS=Windows
fi

# Build the thing
cd $TOP/minetest
git_hash=`git show | head -c14 | tail -c7`
Expand Down Expand Up @@ -79,8 +89,8 @@ cmake $TOP/minetest \
-DZLIB_LIBRARIES=/usr/x86_64-w64-mingw32/sys-root/mingw/lib/libz.dll.a \
-DZLIB_DLL=/usr/x86_64-w64-mingw32/sys-root/mingw/bin/zlib1.dll \
\
-DLUA_INCLUDE_DIR=$libdir/luajit/include \
-DLUA_LIBRARY=$libdir/luajit/libluajit.a \
-DLUA_INCLUDE_DIR=$OUT/_externals/luajit/src \
-DLUA_LIBRARY=$OUT/_externals/luajit/src/lua51.dll \
\
-DOGG_INCLUDE_DIR=/usr/x86_64-w64-mingw32/sys-root/mingw/include \
-DOGG_LIBRARY=/usr/x86_64-w64-mingw32/sys-root/mingw/lib/libogg.dll.a \
Expand Down
167 changes: 0 additions & 167 deletions win64/externals/luajit/include/lauxlib.h

This file was deleted.

17 changes: 0 additions & 17 deletions win64/externals/luajit/include/lj_alloc.h

This file was deleted.

Loading

0 comments on commit 884976d

Please sign in to comment.