diff options
author | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2009-03-06 11:02:37 +0100 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2009-03-06 11:02:37 +0100 |
commit | 80850804c812cf2602ebf2994e4c13a0296622be (patch) | |
tree | 839b3ae76103b203a65aa50e9ca2ed9da581c52b | |
parent | 77930a8b4c61d261e29fae97dd5bec1352298c44 (diff) | |
download | ipset-80850804c812cf2602ebf2994e4c13a0296622be.tar.gz |
Respect LDFLAGS settings at compile time (Peter Volkov).
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -110,14 +110,14 @@ ipset.o: ipset.c ipset.h $(CC) $(CFLAGS) -DIPSET_VERSION=\"$(IPSET_VERSION)\" -DIPSET_LIB_DIR=\"$(IPSET_LIB_DIR)\" -c -o $@ $< ipset: ipset.o - $(CC) $(CFLAGS) -rdynamic -o $@ $^ -ldl + $(CC) $(CFLAGS) $(LDFLAGS) -rdynamic -o $@ $^ -ldl #Pooltypes ipset_%.o: ipset_%.c ipset.h $(CC) $(SH_CFLAGS) -o $@ -c $< libipset_%.so: ipset_%.o - $(CC) -shared -o $@ $< + $(CC) -shared $(LDFLAGS) -o $@ $< $(DESTDIR)$(LIBDIR)/ipset/libipset_%.so: libipset_%.so @[ -d $(DESTDIR)$(LIBDIR)/ipset ] || mkdir -p $(DESTDIR)$(LIBDIR)/ipset |