termux-packages/packages/libluajit/src-Makefile.patch

41 lines
1.3 KiB
Diff
Raw Normal View History

2016-06-11 01:17:00 +02:00
diff -u -r ../LuaJIT-2.1.0-beta2/src/Makefile ./src/Makefile
2016-11-26 00:20:40 +01:00
--- ../LuaJIT-2.1.0-beta2/src/Makefile 2016-03-03 06:40:00.000000000 -0500
+++ ./src/Makefile 2016-11-25 17:40:27.794487169 -0500
2016-06-11 01:17:00 +02:00
@@ -71,14 +71,14 @@
2015-06-13 01:03:31 +02:00
# 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
#
##############################################################################
2016-06-11 01:17:00 +02:00
@@ -166,10 +166,6 @@
HOST_SYS= Windows
HOST_MSYS= cygwin
endif
- # Use Clang for OSX host.
- ifeq (Darwin,$(HOST_SYS))
- DEFAULT_CC= clang
- endif
endif
##############################################################################
2016-11-26 00:20:40 +01:00
@@ -214,7 +210,7 @@
TARGET_STRIP= $(CROSS)strip
TARGET_LIBPATH= $(or $(PREFIX),/usr/local)/$(or $(MULTILIB),lib)
-TARGET_SONAME= libluajit-$(ABIVER).so.$(MAJVER)
+TARGET_SONAME= libluajit-$(ABIVER).so
TARGET_DYLIBNAME= libluajit-$(ABIVER).$(MAJVER).dylib
TARGET_DYLIBPATH= $(TARGET_LIBPATH)/$(TARGET_DYLIBNAME)
TARGET_DLLNAME= lua$(NODOTABIVER).dll