Ticket #28527: patch-makefile.diff

File patch-makefile.diff, 592 bytes (added by andremm@…, 14 years ago)
  • makefile

    old new  
    11LIBNAME = lpeg
    2 LUADIR = /usr/include/lua5.1/
     2LUADIR = /opt/local/include/
    33
    44COPT = -O2 -DNDEBUG
    55
     
    2525CC = gcc
    2626
    2727# For Linux
    28 DLLFLAGS = -shared -fpic
    29 ENV =
     28# DLLFLAGS = -shared -fpic
     29# ENV =
    3030
    3131# For Mac OS
    32 # ENV = MACOSX_DEPLOYMENT_TARGET=10.4
    33 # DLLFLAGS = -bundle -undefined dynamic_lookup
     32ENV = MACOSX_DEPLOYMENT_TARGET=10.4
     33DLLFLAGS = -bundle -undefined dynamic_lookup
    3434
    3535lpeg.so: lpeg.o
    3636        env $(ENV) $(CC) $(DLLFLAGS) lpeg.o -o lpeg.so