diff options
-rw-r--r-- | make/utilities.pm | 5 | ||||
-rw-r--r-- | src/modules/extra/m_ssl_openssl.cpp | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/make/utilities.pm b/make/utilities.pm index 7a45ebb3e..532c09096 100644 --- a/make/utilities.pm +++ b/make/utilities.pm @@ -198,8 +198,11 @@ sub pkgconfig_check_version($$;$) return 0; } } + # If we didnt find it, we cant definitively say its too old. + # Return ok, and let pkgconflibs() or pkgconfincludes() pick up + # the missing library later on. print "\033[1;32mNo (not found)\033[0m\n"; - return 0; + return 1; } sub pkgconfig_get_lib_dirs($$$;$) diff --git a/src/modules/extra/m_ssl_openssl.cpp b/src/modules/extra/m_ssl_openssl.cpp index 72ceea4d0..957f1ba3c 100644 --- a/src/modules/extra/m_ssl_openssl.cpp +++ b/src/modules/extra/m_ssl_openssl.cpp @@ -30,7 +30,7 @@ #include "transport.h" /* $ModDesc: Provides SSL support for clients */ -/* $CompileFlags: pkgconfincludes("openssl","/openssl/ssl.h","") */ +/* $CompileFlags: pkgconfversion("openssl","0.9.7") pkgconfincludes("openssl","/openssl/ssl.h","") */ /* $LinkerFlags: pkgconflibs("openssl","/libssl.so","-lssl -lcrypto") */ /* $ModDep: transport.h */ |