aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/iptstate/iptstate/iptstate-use-ldflags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/iptstate/iptstate/iptstate-use-ldflags.patch')
-rw-r--r--recipes/iptstate/iptstate/iptstate-use-ldflags.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes/iptstate/iptstate/iptstate-use-ldflags.patch b/recipes/iptstate/iptstate/iptstate-use-ldflags.patch
new file mode 100644
index 0000000000..692fd8cce3
--- /dev/null
+++ b/recipes/iptstate/iptstate/iptstate-use-ldflags.patch
@@ -0,0 +1,13 @@
+Index: iptstate-2.2.2/Makefile
+===================================================================
+--- iptstate-2.2.2.orig/Makefile
++++ iptstate-2.2.2/Makefile
+@@ -45,7 +45,7 @@ iptstate: iptstate.cc Makefile
+ echo "+------------------------------------------------------------+" ;\
+ echo "";
+
+- $(CXX) $(CXXFLAGS) $(CXXFILES) -o iptstate $(LIBS) $(CPPFLAGS)
++ $(CXX) $(CXXFLAGS) $(CXXFILES) $(LDFLAGS) -o iptstate $(LIBS) $(CPPFLAGS)
+ @touch iptstate
+
+ @\