Supply SSL_LIBS for --libs output (in source)
authorAdam Dickmeiss <adam@indexdata.dk>
Fri, 6 Jun 2008 09:18:39 +0000 (11:18 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Fri, 6 Jun 2008 09:18:39 +0000 (11:18 +0200)
yaz-config.in

index 0dc55ae..4c0353a 100644 (file)
@@ -105,12 +105,12 @@ if test "$yaz_echo_source" = "yes"; then
     if test "$lib_static" = "yes"; then
         YAZLIB="${yaz_build_root}/src/.libs/libyaz.a"
         if test "$lib_server" = "yes"; then
-           YAZLIB="${yaz_build_root}/src/.libs/libyaz_server.a $YAZLIB ${SSL_LIBS}"
+           YAZLIB="${yaz_build_root}/src/.libs/libyaz_server.a $YAZLIB"
         fi
     else
         YAZLIB="-L${yaz_build_root}/src/.libs $lyaz"
     fi
-    YAZLIB="$YAZLIB $yazextralibs"
+    YAZLIB="$YAZLIB ${SSL_LIBS} $yazextralibs"
 
     YAZLALIB="${yaz_build_root}/src/libyaz.la"
     if test "$lib_server" = "yes"; then