X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=yaz-config.in;h=3420e3502c6ca53c470f5e201b228e389e542220;hp=23c26170333e494d189d162a1c45468397b8490d;hb=f5730a77d7a6b2190f0457a56d220937004df964;hpb=5296093913444ee1a459e1342080c1b951e909b0 diff --git a/yaz-config.in b/yaz-config.in index 23c2617..3420e35 100644 --- a/yaz-config.in +++ b/yaz-config.in @@ -104,7 +104,7 @@ if test "$lib_icu" = "yes"; then YAZLIB="-lyaz_icu $YAZLIB" fi -if test "$lib_ssl" = "yes" -o "$lib_static" = "yes"; then +if test "$lib_ssl" = "yes"; then LIBS="${SSL_LIBS} $LIBS" fi @@ -113,7 +113,10 @@ YAZINC="@YAZ_CONFIG_CFLAGS@" if test "$yaz_echo_source" = "yes"; then YAZBIN=${yaz_build_root}/bin - if test "$lib_static" = "x"; then + if test "$lib_static" = "yes"; then + if test "$lib_ssl" != "yes"; then + LIBS="${SSL_LIBS} $LIBS" + fi YAZLIB="${yaz_build_root}/src/.libs/libyaz.a" if test "$lib_server" = "yes"; then YAZLIB="${yaz_build_root}/src/.libs/libyaz_server.a $YAZLIB"