]> git.pld-linux.org Git - packages/erlang.git/commitdiff
- patch for building with OpenSSL and --as-needed (from gentoo)
authorjaphy <japhy@pld-linux.org>
Sun, 8 Jun 2008 12:55:40 +0000 (12:55 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    erlang-as_needed.patch -> 1.1

erlang-as_needed.patch [new file with mode: 0644]

diff --git a/erlang-as_needed.patch b/erlang-as_needed.patch
new file mode 100644 (file)
index 0000000..863e89c
--- /dev/null
@@ -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
This page took 0.069024 seconds and 4 git commands to generate.