Avoid redundant dependency
[yaz-moved-to-github.git] / yaz-config.in
index 9cd2b87..117806a 100644 (file)
@@ -107,6 +107,9 @@ if test "$yaz_echo_source" = "yes"; then
         if test "$lib_server" = "yes"; then
            YAZLIB="${yaz_build_root}/src/.libs/libyaz_server.a $YAZLIB"
         fi
+        if test "$lib_icu" = "yes"; then
+           YAZLIB="${yaz_build_root}/src/.libs/libyaz_icu.a $YAZLIB"
+        fi
     else
         YAZLIB="-L${yaz_build_root}/src/.libs $lyaz"
     fi
@@ -130,7 +133,7 @@ else
     if test "$yazprefix" != "/usr"; then
        YAZLIB="-L$yazprefix/lib"
     fi
-    YAZLIB="$YAZLIB $lyaz $LIBS"
+    YAZLIB="$YAZLIB $lyaz ${SSL_LIBS} $LIBS"
     YAZLALIB=$YAZLIB
     if test "$yazprefix" != "/usr"; then
        YAZINC="-I$yazprefix/include $YAZINC"