diff options
author | Alin Năstac <mrness@gentoo.org> | 2007-11-15 10:11:48 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2007-11-15 10:11:48 +0000 |
commit | f76f1ab3fd25886824b02ef8e06b5b44c304ae07 (patch) | |
tree | 2986e3ea484e061911792b197c9921a1b3f10fa2 /net-dialup/capisuite/files | |
parent | Updated lapack-reference patch and added doc use flag now arches are ready. (diff) | |
download | gentoo-2-f76f1ab3fd25886824b02ef8e06b5b44c304ae07.tar.gz gentoo-2-f76f1ab3fd25886824b02ef8e06b5b44c304ae07.tar.bz2 gentoo-2-f76f1ab3fd25886824b02ef8e06b5b44c304ae07.zip |
Fix build failure with LDFLAGS=-Wl,--as-needed, thanks to stephan wezel <s.wezel@web.de> (#187534).
(Portage version: 2.1.3.16)
Diffstat (limited to 'net-dialup/capisuite/files')
-rw-r--r-- | net-dialup/capisuite/files/capisuite-0.4.5-as-needed.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net-dialup/capisuite/files/capisuite-0.4.5-as-needed.patch b/net-dialup/capisuite/files/capisuite-0.4.5-as-needed.patch new file mode 100644 index 000000000000..d740366ddca2 --- /dev/null +++ b/net-dialup/capisuite/files/capisuite-0.4.5-as-needed.patch @@ -0,0 +1,11 @@ +--- acinclude.m4.old 2007-08-02 21:34:26.000000000 +0200 ++++ acinclude.m4 2007-08-02 21:42:36.000000000 +0200 +@@ -155,7 +155,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}]) |