Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/rofl0r/proxychains-ng.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrofl0r <retnyg@gmx.net>2015-06-04 23:11:08 +0300
committerrofl0r <retnyg@gmx.net>2015-06-04 23:11:08 +0300
commit53c6c2ca9bbb3fc11af7731b206a52c0a9391348 (patch)
treed15d9205534cb1f8bae411362b7b2125b6d65377 /Makefile
parentc9c51d6705cad9ee228a54d028521504e5cd505a (diff)
configure: respect user LDFLAGS without breaking link order
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 0ebfa17..3cacaa9 100644
--- a/Makefile
+++ b/Makefile
@@ -81,10 +81,11 @@ src/version.o: src/version.h
$(CC) $(CPPFLAGS) $(CFLAGS) $(CFLAGS_MAIN) $(INC) $(PIC) -c -o $@ $<
$(LDSO_PATHNAME): $(LOBJS)
- $(CC) $(LDFLAGS) $(LD_SET_SONAME)$(LDSO_PATHNAME) -o $@ $(LOBJS)
+ $(CC) $(LDFLAGS) $(LD_SET_SONAME)$(LDSO_PATHNAME) $(USER_LDFLAGS) \
+ -o $@ $(LOBJS)
$(ALL_TOOLS): $(OBJS)
- $(CC) src/main.o src/common.o -o $(PXCHAINS)
+ $(CC) src/main.o src/common.o $(USER_LDFLAGS) -o $(PXCHAINS)
.PHONY: all clean install install-config install-libs install-tools