25 lines
650 B
Plaintext
25 lines
650 B
Plaintext
$NetBSD: patch-aa,v 1.6 2012/02/18 01:23:59 sbd Exp $
|
|
|
|
--- configure.orig 2003-12-17 17:54:50.000000000 -0500
|
|
+++ configure
|
|
@@ -144,8 +144,10 @@ public:
|
|
|
|
s = conf->getenv("QC_WITH_OPENSSL_LIB");
|
|
if(!s.isEmpty()) {
|
|
+ /*
|
|
if(!conf->checkLibrary(s, "ssl"))
|
|
return false;
|
|
+ */
|
|
lib = s;
|
|
}
|
|
else {
|
|
@@ -168,7 +170,7 @@ public:
|
|
if(kb)
|
|
ext += QString("-I") + kbdir + ' ';
|
|
if(!lib.isEmpty())
|
|
- ext += QString("-L") + lib + " -lssl -lcrypto ";
|
|
+ ext += QString("-L") + lib + " " + QString("@COMPILER_RPATH_FLAG@") + lib + " -lssl -lcrypto ";
|
|
int ret;
|
|
if(!conf->doCompileAndLink(str, ext, &ret))
|
|
return false;
|