# HG changeset patch # User Matthew Wild # Date 1293341847 0 # Node ID ee7f2aa5dc3b967d14b20daed4b45e450535e506 # Parent 8a0561a647f06b94367cdcb6703bae58224a26db util-src/Makefile: Change parameter order so that LDFLAGS always comes later than the input files diff -r 8a0561a647f0 -r ee7f2aa5dc3b util-src/Makefile --- a/util-src/Makefile Sun Dec 26 05:01:58 2010 +0000 +++ b/util-src/Makefile Sun Dec 26 05:37:27 2010 +0000 @@ -14,18 +14,18 @@ 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