$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-11-26 20:01:59.000000000 +0100 +++ lib/crypto/c_src/Makefile.in @@ -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 - $(INSTALL_PROGRAM) $(DRV_MAKEFILE) $(RELSYSDIR)/priv/obj + $(INSTALL_DATA) $(DRV_MAKEFILE) $(RELSYSDIR)/priv/obj $(INSTALL_PROGRAM) $(OBJS) $(RELSYSDIR)/priv/obj $(INSTALL_PROGRAM) $(DYN_DRIVER) $(RELSYSDIR)/priv/lib