Ticket #28527: patch-makefile.diff
File patch-makefile.diff, 592 bytes (added by andremm@…, 14 years ago) |
---|
-
makefile
old new 1 1 LIBNAME = lpeg 2 LUADIR = / usr/include/lua5.1/2 LUADIR = /opt/local/include/ 3 3 4 4 COPT = -O2 -DNDEBUG 5 5 … … 25 25 CC = gcc 26 26 27 27 # For Linux 28 DLLFLAGS = -shared -fpic29 ENV =28 # DLLFLAGS = -shared -fpic 29 # ENV = 30 30 31 31 # For Mac OS 32 #ENV = MACOSX_DEPLOYMENT_TARGET=10.433 #DLLFLAGS = -bundle -undefined dynamic_lookup32 ENV = MACOSX_DEPLOYMENT_TARGET=10.4 33 DLLFLAGS = -bundle -undefined dynamic_lookup 34 34 35 35 lpeg.so: lpeg.o 36 36 env $(ENV) $(CC) $(DLLFLAGS) lpeg.o -o lpeg.so