yaz-config: List SSL libs for static mode
[yaz-moved-to-github.git] / yaz-config.in
index 9898cb0..93e168f 100644 (file)
@@ -104,7 +104,7 @@ if test "$lib_icu" = "yes"; then
     lyaz="-lyaz_icu $lyaz"
 fi
 
-if test "$lib_ssl" = "yes"; then
+if test "$lib_ssl" = "yes" -o "$lib_static" = "yes"; then
     LIBS="${SSL_LIBS} $LIBS"
 fi