Fixes for building on a mac
[termux-packages] / packages / libluajit / Makefile.patch
CommitLineData
ed021630
FF
1diff -u -r ../LuaJIT-2.1.0-beta2/src/Makefile ./src/Makefile
2--- ../LuaJIT-2.1.0-beta2/src/Makefile 2016-03-03 12:40:00.000000000 +0100
3+++ ./src/Makefile 2016-06-11 00:59:21.000000000 +0200
4@@ -71,14 +71,14 @@
59f0d218
FF
5 # as dynamic mode.
6 #
7 # Mixed mode creates a static + dynamic library and a statically linked luajit.
8-BUILDMODE= mixed
9+#BUILDMODE= mixed
10 #
11 # Static mode creates a static library and a statically linked luajit.
12 #BUILDMODE= static
13 #
14 # Dynamic mode creates a dynamic library and a dynamically linked luajit.
15 # Note: this executable will only run when the library is installed!
16-#BUILDMODE= dynamic
17+BUILDMODE= dynamic
18 #
19 ##############################################################################
20
ed021630
FF
21@@ -166,10 +166,6 @@
22 HOST_SYS= Windows
23 HOST_MSYS= cygwin
24 endif
25- # Use Clang for OSX host.
26- ifeq (Darwin,$(HOST_SYS))
27- DEFAULT_CC= clang
28- endif
29 endif
30
31 ##############################################################################