chiark / gitweb /
vim: Enable cursor shapes
[termux-packages] / packages / libluajit / src-Makefile.patch
1 diff -u -r ../LuaJIT-2.1.0-beta2/src/Makefile ./src/Makefile
2 --- ../LuaJIT-2.1.0-beta2/src/Makefile  2016-03-03 06:40:00.000000000 -0500
3 +++ ./src/Makefile      2016-11-25 17:40:27.794487169 -0500
4 @@ -71,14 +71,14 @@
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  
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  ##############################################################################
32 @@ -214,7 +210,7 @@
33  TARGET_STRIP= $(CROSS)strip
34  
35  TARGET_LIBPATH= $(or $(PREFIX),/usr/local)/$(or $(MULTILIB),lib)
36 -TARGET_SONAME= libluajit-$(ABIVER).so.$(MAJVER)
37 +TARGET_SONAME= libluajit-$(ABIVER).so
38  TARGET_DYLIBNAME= libluajit-$(ABIVER).$(MAJVER).dylib
39  TARGET_DYLIBPATH= $(TARGET_LIBPATH)/$(TARGET_DYLIBNAME)
40  TARGET_DLLNAME= lua$(NODOTABIVER).dll