yaz-config: List SSL libs for static mode
authorAdam Dickmeiss <adam@indexdata.dk>
Thu, 29 Apr 2010 08:12:44 +0000 (10:12 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Thu, 29 Apr 2010 08:12:55 +0000 (10:12 +0200)
The static mode is for apps that don't use Libtool.

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