From f815a05a053c14647c33dfc2d2c78347bad475a3 Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Mon, 7 Jun 2010 23:40:21 +0200 Subject: A few more fixes... --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index fd954f4..00f9e48 100644 --- a/Makefile +++ b/Makefile @@ -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: -- cgit v1.2.3