File bayonne2-libtool.patch of Package bayonne2

diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs -x Makefile -x Makefile.in ../orig-bayonne2-2.3.2/configure.ac ./configure.ac
--- ../orig-bayonne2-2.3.2/configure.ac	2007-01-18 14:02:52.000000000 +0100
+++ ./configure.ac	2012-11-02 11:47:11.106364211 +0100
@@ -327,6 +327,7 @@
 COMMON_LIBPATH=`pkg-config --variable=libdir libccgnu2`
 COMMON_LIBFLAGS="-L$COMMON_LIBPATH $COMMON_LIBS"
 COMMON_MODFLAGS=`pkg-config --variable=modflags libccgnu2`
+COMMON_MODFLAGS="$COMMON_MODFLAGS -XCClinker -shared"
 EXTRAS_LIBFLAGS="-L$COMMON_LIBPATH $EXTRAS_LIBS"
 CXXFLAGS="$CXXFLAGS $COMMON_CFLAGS"
 AC_SUBST(COMMON_MODFLAGS)
openSUSE Build Service is sponsored by