summaryrefslogtreecommitdiff
path: root/lang/erlang/patches/patch-ae
diff options
context:
space:
mode:
Diffstat (limited to 'lang/erlang/patches/patch-ae')
-rw-r--r--lang/erlang/patches/patch-ae19
1 files changed, 16 insertions, 3 deletions
diff --git a/lang/erlang/patches/patch-ae b/lang/erlang/patches/patch-ae
index 0b3b289e265..3e3b394475f 100644
--- a/lang/erlang/patches/patch-ae
+++ b/lang/erlang/patches/patch-ae
@@ -1,10 +1,23 @@
-$NetBSD: patch-ae,v 1.2 2008/04/08 13:16:22 martti Exp $
+$NetBSD: patch-ae,v 1.3 2008/06/21 22:13:09 joerg Exp $
+Allow the system linker to use the shared library for dynamic modules.
Fixed Makefile installation.
---- lib/crypto/c_src/Makefile.in.orig 2007-06-11 12:59:08.000000000 +0000
+--- lib/crypto/c_src/Makefile.in.orig 2007-11-26 20:01:59.000000000 +0100
+++ lib/crypto/c_src/Makefile.in
-@@ -135,7 +135,7 @@ include $(ERL_TOP)/make/otp_release_targ
+@@ -91,11 +91,7 @@ endif
+ endif
+ DYNAMIC_CRYPTO_LIB=@SSL_DYNAMIC_ONLY@
+
+-ifeq ($(DYNAMIC_CRYPTO_LIB),yes)
+ CRYPTO_LINK_LIB=-L$(SSL_LIBDIR) -lcrypto
+-else
+-CRYPTO_LINK_LIB=$(SSL_LIBDIR)/libcrypto.a
+-endif
+
+ # ----------------------------------------------------
+ # Targets
+@@ -135,7 +131,7 @@ include $(ERL_TOP)/make/otp_release_targ
release_spec: opt
$(INSTALL_DIR) $(RELSYSDIR)/priv/obj
$(INSTALL_DIR) $(RELSYSDIR)/priv/lib