diff --git a/iproute2.changes b/iproute2.changes index bad2200..c9600ca 100644 --- a/iproute2.changes +++ b/iproute2.changes @@ -2,8 +2,9 @@ Tue May 31 21:35:16 UTC 2011 - jengelh@medozas.de - Correct installation path of tc modules -- Restore symbol lookup in m_xt.so (bnc#660554, bnc#679172) +- Restore symbol lookup in m_xt.so (bnc#679172) - Add patches to make m_xt build with libxtables6 +- Restore m_xt's module lookup (bnc#660554) - Run spec-beautifier ------------------------------------------------------------------- diff --git a/iproute2.spec b/iproute2.spec index 7e6987e..097c6dc 100644 --- a/iproute2.spec +++ b/iproute2.spec @@ -85,7 +85,8 @@ find . -name *.orig -print0 | xargs -r0 rm -v %build # build with -fPIC. For details see # https://bugzilla.novell.com/show_bug.cgi?id=388021 -make %{?_smp_mflags} LIBDIR=%_libdir CCOPTS="-D_GNU_SOURCE %optflags -Wstrict-prototypes -fPIC" +xtlibdir="$(pkg-config xtables --variable=xtlibdir)"; +make %{?_smp_mflags} LIBDIR=%_libdir CCOPTS="-D_GNU_SOURCE %optflags -Wstrict-prototypes -fPIC -DXT_LIB_DIR=\"$xtlibdir\"" cd doc make pdf