summaryrefslogtreecommitdiff
path: root/net-firewall/nftables/files/nftables-0.9.8-slibtool.patch
diff options
context:
space:
mode:
Diffstat (limited to 'net-firewall/nftables/files/nftables-0.9.8-slibtool.patch')
-rw-r--r--net-firewall/nftables/files/nftables-0.9.8-slibtool.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/net-firewall/nftables/files/nftables-0.9.8-slibtool.patch b/net-firewall/nftables/files/nftables-0.9.8-slibtool.patch
new file mode 100644
index 000000000000..a92645f793c7
--- /dev/null
+++ b/net-firewall/nftables/files/nftables-0.9.8-slibtool.patch
@@ -0,0 +1,13 @@
+This fixes build with sys-devel/slibtool
+
+--- nftables-0.9.8/src/Makefile.am
++++ nftables-0.9.8/src/Makefile.am
+@@ -90,7 +90,7 @@
+
+ libnftables_la_LIBADD = ${LIBMNL_LIBS} ${LIBNFTNL_LIBS} libparser.la
+ libnftables_la_LDFLAGS = -version-info ${libnftables_LIBVERSION} \
+- --version-script=$(srcdir)/libnftables.map
++ -Wl,--version-script=$(srcdir)/libnftables.map
+
+ if BUILD_MINIGMP
+ noinst_LTLIBRARIES += libminigmp.la