diff options
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -17,13 +17,13 @@ ARCH_FLAGS=-arch i386 SHARED_FLAGS=-dynamiclib SHARED_EXT=dylib CPPFLAGS = -dynamic -LD = g++ -arch i386 +LD = g++ -arch i386 -read_only_relocs suppress STRIP = strip -x FINK= ifeq ($(TRUESYSTEM),Linux) CC = i686-apple-darwin9-gcc CXX = i686-apple-darwin9-g++ -LD = i686-apple-darwin9-g++ -arch i386 -mmacosx-version-min=10.5 +LD = i686-apple-darwin9-g++ -arch i386 -mmacosx-version-min=10.5 -read_only_relocs suppress STRIP = i686-apple-darwin9-strip -x AS = i686-apple-darwin9-as -arch i386 LIPO = i686-apple-darwin9-lipo @@ -95,7 +95,7 @@ dep: $(ALL_DEPS) luagmp.a: $(addsuffix .o, $(notdir $(basename $(GMP_SOURCES)))) $(AR) $@ $+ -luagmp.$(SHARED_EXT): plugin-luagmp.o luagmp.a +luagmp.$(SHARED_EXT): luagmp.a $(LD) $(LDFLAGS) -o $@ $+ $(GMP_LIBS) clean: |