diff options
author | Christian Faulhammer <opfer@gentoo.org> | 2008-04-29 00:06:05 +0000 |
---|---|---|
committer | Christian Faulhammer <opfer@gentoo.org> | 2008-04-29 00:06:05 +0000 |
commit | 1c23871a4c8053aac14f29e05fb7cb4b39741898 (patch) | |
tree | abe30911f8980ef9124f05ad187b538cff2dd9bf /dev-lang/erlang/files | |
parent | Version bump (diff) | |
download | gentoo-2-1c23871a4c8053aac14f29e05fb7cb4b39741898.tar.gz gentoo-2-1c23871a4c8053aac14f29e05fb7cb4b39741898.tar.bz2 gentoo-2-1c23871a4c8053aac14f29e05fb7cb4b39741898.zip |
make building with --as-needed possible, patch provided by pva in bug 203157
(Portage version: 2.1.4.4)
Diffstat (limited to 'dev-lang/erlang/files')
-rw-r--r-- | dev-lang/erlang/files/erlang-12.2.2-as-needed.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/dev-lang/erlang/files/erlang-12.2.2-as-needed.patch b/dev-lang/erlang/files/erlang-12.2.2-as-needed.patch new file mode 100644 index 000000000000..863e89c9400f --- /dev/null +++ b/dev-lang/erlang/files/erlang-12.2.2-as-needed.patch @@ -0,0 +1,22 @@ +--- erts/configure.in.orig 2008-04-24 23:16:09.000000000 +0400 ++++ erts/configure.in 2008-04-24 23:17:05.000000000 +0400 +@@ -2874,8 +2874,10 @@ + else + saveCFLAGS="$CFLAGS" + saveLDFLAGS="$LDFLAGS" ++ saveLIBS="$LIBS" + CFLAGS="$CFLAGS $SSL_INCLUDE" +- LDFLAGS="$LDFLAGS -L$SSL_LIBDIR -lcrypto" ++ LDFLAGS="$LDFLAGS -L$SSL_LIBDIR" ++ LIBS="-lcrypto" + AC_TRY_LINK([ + #include <stdio.h> + #include <openssl/hmac.h>], +@@ -2887,6 +2889,7 @@ + [ssl_linkable=no]) + CFLAGS="$saveCFLAGS" + LDFLAGS="$saveLDFLAGS" ++ LIBS="$saveLIBS" + fi + fi + if test "x$ssl_found" = "xyes" -a "x$ssl_linkable" = "xyes" ; then |