blob: 5fa21b0bb769a725849c9119993e3f01f63b33d2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
PR merged https://github.com/vanhauser-thc/thc-ipv6/pull/56.patch
See https://bugs.gentoo.org/972896
Apply generic rules to PROGRAMS only, ensuring the library is built first w/ implicit rules and avoiding duplicate rules for EXTRA.
--- a/Makefile
+++ b/Makefile
@@ -36,7 +36,7 @@ fragrouter6: fragrouter6.c $(LIBS)
connsplit6: connsplit6.c $(LIBS)
-$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $^ $(LDFLAGS) -lnetfilter_queue || /bin/echo -e "\nCompilation of connsplit6 failed, you have to install libnetfilter-queue-dev for this!\n"
-%: %.c $(LIBS)
+$(PROGRAMS): %: %.c $(LIBS)
$(CC) $(CFLAGS) $(CPPFLAGS) $(STATIC) -o $@ $^ $(LDFLAGS)
strip: all
|