diff options
author | Florian Westphal <fw@strlen.de> | 2018-11-06 16:06:27 +0100 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2018-11-12 17:41:58 +0100 |
commit | b3c8de9c5aecde38eec964f31120df82b9704c8c (patch) | |
tree | 71062c679ad2ab55e36008a09179e54e990e3a59 /src/Makefile.am | |
parent | c15c2869168d71d07aca0221e1b37f0c5da54547 (diff) |
xt: always build with a minimal support for xt match/target decode
When building without libxtables, nft would just silently omit any presence
of nft_compat in the output.
This adds ifdef-ry to at least print name of target/match involved when
libxtables isn't available for decoding.
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 307bab10..31d076cd 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -83,8 +83,8 @@ libminigmp_la_CFLAGS = ${AM_CFLAGS} -Wno-sign-compare libnftables_la_LIBADD += libminigmp.la endif -if BUILD_XTABLES libnftables_la_SOURCES += xt.c +if BUILD_XTABLES libnftables_la_LIBADD += ${XTABLES_LIBS} endif |