From fd8ca4b7d5664817a93f9968f2bb9a0b0226cb55 Mon Sep 17 00:00:00 2001 From: Kevin Pyle Date: Wed, 25 Apr 2012 22:41:39 -0500 Subject: [PATCH] Build: move $LDFLAGS before $OBJS Move $LDFLAGS to appear earlier, in case the user specifies a position-sensitive flag. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6785acb..8877377 100644 --- a/Makefile +++ b/Makefile @@ -52,7 +52,7 @@ libiniparser.a: $(OBJS) $(QUIET_RANLIB)$(RANLIB) $@ libiniparser.so: $(OBJS) - $(QUIET_LINK)$(SHLD) $(LDSHFLAGS) -o $@.0 $(OBJS) $(LDFLAGS) \ + $(QUIET_LINK)$(SHLD) $(LDSHFLAGS) $(LDFLAGS) -o $@.0 $(OBJS) \ -Wl,-soname=`basename $@`.0 clean: -- GitLab