termux-packages/packages/libluajit/Makefile.patch

23 lines
762 B
Diff
Raw Normal View History

2015-06-13 01:03:31 +02:00
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
#
##############################################################################