Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 246016 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-2 / +2 lines)
Lines 80-93 Link Here
80
	$(CC) $(CFLAGS) -DIPSET_VERSION=\"$(IPSET_VERSION)\" -DIPSET_LIB_DIR=\"$(IPSET_LIB_DIR)\" -c -o $@ $<
80
	$(CC) $(CFLAGS) -DIPSET_VERSION=\"$(IPSET_VERSION)\" -DIPSET_LIB_DIR=\"$(IPSET_LIB_DIR)\" -c -o $@ $<
81
81
82
ipset: ipset.o
82
ipset: ipset.o
83
	$(CC) $(CFLAGS) -rdynamic -o $@ $^ -ldl
83
	$(CC) $(CFLAGS) $(LDFLAGS) -rdynamic -o $@ $^ -ldl
84
84
85
#Pooltypes
85
#Pooltypes
86
ipset_%.o: ipset_%.c ipset.h
86
ipset_%.o: ipset_%.c ipset.h
87
	$(CC) $(SH_CFLAGS) -o $@ -c $<
87
	$(CC) $(SH_CFLAGS) -o $@ -c $<
88
88
89
libipset_%.so: ipset_%.o
89
libipset_%.so: ipset_%.o
90
	$(LD) -shared -o $@ $<
90
	$(LD) $(LDDFLAGS) -shared -o $@ $<
91
91
92
$(DESTDIR)$(LIBDIR)/ipset/libipset_%.so: libipset_%.so
92
$(DESTDIR)$(LIBDIR)/ipset/libipset_%.so: libipset_%.so
93
	@[ -d $(DESTDIR)$(LIBDIR)/ipset ] || mkdir -p $(DESTDIR)$(LIBDIR)/ipset
93
	@[ -d $(DESTDIR)$(LIBDIR)/ipset ] || mkdir -p $(DESTDIR)$(LIBDIR)/ipset

Return to bug 246016