4944aef63a
-Wl,--export-dynamic. This makes main prog syms visible to plugins and now they work. prompted by and okay sturm@
40 lines
1.4 KiB
Plaintext
40 lines
1.4 KiB
Plaintext
$OpenBSD: patch-configure,v 1.14 2005/11/26 21:17:54 kurt Exp $
|
|
--- configure.orig Thu Jul 10 04:25:31 2003
|
|
+++ configure Sat Nov 26 10:55:41 2005
|
|
@@ -10037,7 +10037,7 @@ echo $ECHO_N "checking for gcc option to
|
|
DLLEXPORTS="dlltool -e ./src/$PROG.exp -l ./$PROG.a -D $PROG.exe -d ./src/ec_cygwin.def"
|
|
EXPFILE="./src/$PROG.exp"
|
|
else
|
|
- LIBS="$LIBS -rdynamic"
|
|
+ LIBS="$LIBS -Wl,--export-dynamic"
|
|
PICFLAG="-fPIC -DPIC -shared"
|
|
fi
|
|
|
|
@@ -10105,7 +10105,7 @@ if test $check_ssh -ne 0; then
|
|
|
|
if test -f $ssl_path/include/openssl/ssl.h; then
|
|
COPTS="$COPTS -I$ssl_path/include"
|
|
- LIBS="$LIBS -L$ssl_path/lib -lssl -lcrypto"
|
|
+ LIBS="$LIBS -L$ssl_path/lib -lssl -lcrypto -ldes"
|
|
cat >>confdefs.h <<\_ACEOF
|
|
#define HAVE_OPENSSL 1
|
|
_ACEOF
|
|
@@ -10115,7 +10115,7 @@ _ACEOF
|
|
echo "${ECHO_T}yes" >&6
|
|
elif test -f $ssl_path/ssl/include/openssl/ssl.h; then
|
|
COPTS="$COPTS -I$ssl_path/ssl/include"
|
|
- LIBS="$LIBS -L$ssl_path/ssl/lib -lssl -lcrypto"
|
|
+ LIBS="$LIBS -L$ssl_path/ssl/lib -lssl -lcrypto -ldes"
|
|
cat >>confdefs.h <<\_ACEOF
|
|
#define HAVE_OPENSSL 1
|
|
_ACEOF
|
|
@@ -10124,7 +10124,7 @@ _ACEOF
|
|
echo "$as_me:$LINENO: result: yes" >&5
|
|
echo "${ECHO_T}yes" >&6
|
|
elif test -f /usr/include/openssl/ssl.h; then
|
|
- LIBS="$LIBS -lssl -lcrypto"
|
|
+ LIBS="$LIBS -lssl -lcrypto -ldes"
|
|
cat >>confdefs.h <<\_ACEOF
|
|
#define HAVE_OPENSSL 1
|
|
_ACEOF
|