bnc#660554: add -DXT_LIB_DIR with proper xtables module paths

OBS-URL: https://build.opensuse.org/package/show/security:netfilter/iproute2?expand=0&rev=29
This commit is contained in:
Jan Engelhardt 2011-05-31 23:29:07 +00:00 committed by Git OBS Bridge
parent cb2b55f98b
commit a6827ffcad
2 changed files with 4 additions and 2 deletions

View File

@ -2,8 +2,9 @@
Tue May 31 21:35:16 UTC 2011 - jengelh@medozas.de Tue May 31 21:35:16 UTC 2011 - jengelh@medozas.de
- Correct installation path of tc modules - 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 - Add patches to make m_xt build with libxtables6
- Restore m_xt's module lookup (bnc#660554)
- Run spec-beautifier - Run spec-beautifier
------------------------------------------------------------------- -------------------------------------------------------------------

View File

@ -85,7 +85,8 @@ find . -name *.orig -print0 | xargs -r0 rm -v
%build %build
# build with -fPIC. For details see # build with -fPIC. For details see
# https://bugzilla.novell.com/show_bug.cgi?id=388021 # 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 cd doc
make pdf make pdf