]> git.ipfire.org Git - thirdparty/xtables-addons.git/commitdiff
build: fix inclusion of Makefile.extra
authorJeremy Sowden <jeremy@azazel.net>
Sun, 9 Mar 2025 16:41:27 +0000 (17:41 +0100)
committerJan Engelhardt <jengelh@inai.de>
Sun, 9 Mar 2025 17:07:38 +0000 (18:07 +0100)
Commit 08a16d90ceae ("build: use `$(top_srcdir)` when including Makefile.extra")
replaces hard-coded relative paths used to include Makefile.extra with
variables.  However, despite the commit message, the variables are enclosed with
braces, not parentheses, and it transpires that automake does not support the
use of braces in this context.  As a result, Makefile.extra is not included, and
the libxt_ACCOUNT.so and libxt_pknock.so extensions are not built.

Use parentheses instead.

Link: https://bugs.launchpad.net/ubuntu/+source/xtables-addons/+bug/2080528
Fixes: 08a16d90ceae ("build: use `$(top_srcdir)` when including Makefile.extra")
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
extensions/ACCOUNT/Makefile.am
extensions/Makefile.am
extensions/pknock/Makefile.am

index 2514386f00b89a72738a40dc3a90285532b26fc0..473a739f981a742bd59e7cd89a9655e065c35988 100644 (file)
@@ -3,7 +3,7 @@
 AM_CPPFLAGS = ${regular_CPPFLAGS} -I${abs_top_srcdir}/extensions
 AM_CFLAGS   = ${regular_CFLAGS} ${libxtables_CFLAGS}
 
-include ${top_srcdir}/Makefile.extra
+include $(top_srcdir)/Makefile.extra
 
 sbin_PROGRAMS = iptaccount
 iptaccount_LDADD = libxt_ACCOUNT_cl.la
index 8f0aeb5666da77796147206694c36ecf85aef0e2..b99712dfcd38faa133bb30751f462337d8b441ed 100644 (file)
@@ -26,4 +26,4 @@ install-exec-local: modules_install
 
 clean-local: clean_modules
 
-include ${top_srcdir}/Makefile.extra
+include $(top_srcdir)/Makefile.extra
index 1ca5f91025b76db8e40b723ac46a1487a5707154..5fcae479423015bd50180d58c779d4ae2809d07d 100644 (file)
@@ -3,7 +3,7 @@
 AM_CPPFLAGS = ${regular_CPPFLAGS} -I${abs_top_srcdir}/extensions
 AM_CFLAGS   = ${regular_CFLAGS} ${libxtables_CFLAGS}
 
-include ${top_srcdir}/Makefile.extra
+include $(top_srcdir)/Makefile.extra
 
 sbin_PROGRAMS = pknlusr
 dist_man_MANS = pknlusr.8