From a5f09ade0bf1834ebe7f4c4f2fc7ed77c1cee579 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Sun, 26 Dec 2010 05:37:27 +0000 Subject: util-src/Makefile: Change parameter order so that LDFLAGS always comes later than the input files --- util-src/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'util-src') diff --git a/util-src/Makefile b/util-src/Makefile index 15af3e68..1ca934ad 100644 --- a/util-src/Makefile +++ b/util-src/Makefile @@ -14,18 +14,18 @@ LD?=gcc encodings.so: encodings.o MACOSX_DEPLOYMENT_TARGET="10.3"; export MACOSX_DEPLOYMENT_TARGET; - $(CC) $(LDFLAGS) $(IDNA_LIBS) -o $@ $< + $(CC) -o $@ $< $(LDFLAGS) $(IDNA_LIBS) hashes.so: hashes.o MACOSX_DEPLOYMENT_TARGET="10.3"; export MACOSX_DEPLOYMENT_TARGET; - $(CC) $(LDFLAGS) -l$(OPENSSL_LIB) -o $@ $< + $(CC) -o $@ $< $(LDFLAGS) -l$(OPENSSL_LIB) .c.o: $(CC) $(CFLAGS) -I$(LUA_INCDIR) -c -o $@ $< .o.so: MACOSX_DEPLOYMENT_TARGET="10.3"; export MACOSX_DEPLOYMENT_TARGET; - $(LD) $(LDFLAGS) -o $@ $< + $(LD) -o $@ $< $(LDFLAGS) all: encodings.so hashes.so pposix.so signal.so -- cgit v1.2.3