diff options
Diffstat (limited to 'net-dialup/capisuite/files/capisuite-0.5.0-as-needed.patch')
-rw-r--r-- | net-dialup/capisuite/files/capisuite-0.5.0-as-needed.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net-dialup/capisuite/files/capisuite-0.5.0-as-needed.patch b/net-dialup/capisuite/files/capisuite-0.5.0-as-needed.patch new file mode 100644 index 0000000..10439ca --- /dev/null +++ b/net-dialup/capisuite/files/capisuite-0.5.0-as-needed.patch @@ -0,0 +1,11 @@ +--- acinclude.m4.old 2013-08-17 16:50:49.000000000 +0200 ++++ acinclude.m4 2013-08-17 16:51:32.000000000 +0200 +@@ -140,7 +140,7 @@ + _python_libbasemod=`grep '^BASEMODLIBS=' $python_configdir/Makefile | sed 's/^.*=//'` + + pgac_tab=" " # tab character +-python_libspec=`echo X"$_python_libs $_python_libc $_python_libm -lpython$python_version $_python_liblocalmod $_python_libbasemod" | sed -e 's/^X//' -e "s/[[ $pgac_tab]][[ $pgac_tab]]*/ /g"` ++python_libspec=`echo X"-lpython$python_version $_python_liblocalmod $_python_libbasemod $_python_libm $_python_libs $_python_libc" | sed -e 's/^X//' -e "s/[[ $pgac_tab]][[ $pgac_tab]]*/ /g"` + LIBS="$LIBS $python_libspec" + LDFLAGS="$LDFLAGS -L$python_configdir $python_linkforshared" + AC_MSG_RESULT([${python_libspec}]) |