From: Jan Engelhardt Date: Tue, 18 Dec 2012 17:18:45 +0000 (-0800) Subject: build: unbreak linakge of m_xt.so X-Git-Tag: v3.8.0~3^2~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d29feaaa35f6ad3b2a4aa79d8b540b6bfd3e94bd;p=thirdparty%2Fiproute2.git build: unbreak linakge of m_xt.so Commit v3.7.0~10 caused the variable new PKG_CONFIG variable never to be present at the time of calling make, leading to tc/m_xt.so not linked with -lxtables (result from pkg-config xtables --libs), that in turn leading to tc: symbol lookup error: /usr/lib64/tc//m_xt.so: undefined symbol: xtables_init_all Fixing that. Signed-off-by: Jan Engelhardt --- diff --git a/configure b/configure index 7c2db9be4..f0540c3cc 100755 --- a/configure +++ b/configure @@ -14,7 +14,6 @@ check_toolchain() : ${CC=gcc} echo "AR:=${AR}" >>Config echo "CC:=${CC}" >>Config -echo "PKG_CONFIG:=${PKG_CONFIG}" >>Config } check_atm() @@ -231,6 +230,7 @@ rm -f $TMPDIR/ipsettest.c $TMPDIR/ipsettest } echo "# Generated config based on" $INCLUDE >Config +echo "PKG_CONFIG:=${PKG_CONFIG}" >>Config check_toolchain echo "TC schedulers"