Use the -R flag when calling ld, so that the created shared object is actually

usable on ELF systems.
This commit is contained in:
jdolecek 2000-06-02 23:34:31 +00:00
parent 8b22d316f7
commit a5da7a9239
2 changed files with 15 additions and 5 deletions

View file

@ -1,6 +1,3 @@
$NetBSD: patch-sum,v 1.3 2000/04/21 02:17:40 explorer Exp $
$NetBSD: patch-sum,v 1.4 2000/06/02 23:34:31 jdolecek Exp $
This placeholder file is generated by the ``makepatchsum'' target
whenever the patches directory is empty or missing. Its purpose
is to ensure that the presence of any obsolete patches will cause
the proper error to be emitted at build time.
MD5 (patch-aa) = b715f44591b0786fbbaea7683a5833cb

View file

@ -0,0 +1,13 @@
$NetBSD: patch-aa,v 1.4 2000/06/02 23:34:31 jdolecek Exp $
--- pkg.sslmod/libssl.module.orig Sat Jun 3 01:26:46 2000
+++ pkg.sslmod/libssl.module Sat Jun 3 01:26:58 2000
@@ -418,7 +418,7 @@ ConfigStart
exit 1
fi
fi
- SSL_LDFLAGS="$SSL_LDFLAGS -L\$(SSL_LIBDIR)"
+ SSL_LDFLAGS="$SSL_LDFLAGS -L\$(SSL_LIBDIR) -R\$(SSL_LIBDIR)"
SSL_LIBS="$SSL_LIBS -lssl -lcrypto"
#