X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/798619b91c91405f847b0e48137239f218a4cf15..59f0d218a6ff34c80cf898f6d7ac62555ba8eb11:/packages/libluajit/Makefile.patch diff --git a/packages/libluajit/Makefile.patch b/packages/libluajit/Makefile.patch new file mode 100644 index 00000000..59f96049 --- /dev/null +++ b/packages/libluajit/Makefile.patch @@ -0,0 +1,22 @@ +Link the luajit executable to the shared libraries. + +diff -u -r ../LuaJIT-2.0.3/src/Makefile ./src/Makefile +--- ../LuaJIT-2.0.3/src/Makefile 2014-03-12 13:10:00.000000000 +0100 ++++ ./src/Makefile 2014-07-09 02:39:15.344355861 +0200 +@@ -72,14 +72,14 @@ + # as dynamic mode. + # + # Mixed mode creates a static + dynamic library and a statically linked luajit. +-BUILDMODE= mixed ++#BUILDMODE= mixed + # + # Static mode creates a static library and a statically linked luajit. + #BUILDMODE= static + # + # Dynamic mode creates a dynamic library and a dynamically linked luajit. + # Note: this executable will only run when the library is installed! +-#BUILDMODE= dynamic ++BUILDMODE= dynamic + # + ############################################################################## +