7681ed843d
the required -Rpath options or the openssl version will not be correctly determined when using pkgsrc openssl. - when running qmake as part of the configure stage, be sure to run in the configure environment so that QMAKESPEC is picked up.
24 lines
637 B
Text
24 lines
637 B
Text
$NetBSD: patch-aa,v 1.2 2005/09/13 04:27:21 dmcmahill 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("-R") + lib + " -lssl -lcrypto ";
|
|
int ret;
|
|
if(!conf->doCompileAndLink(str, ext, &ret))
|
|
return false;
|