From fd8292660a22b62a4b2c6c1ef8482e639975e592 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 29 Apr 2010 13:45:14 +0200 Subject: [PATCH] yaz-config: dont list SSL libs for shared libyaz --- yaz-config.in | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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" -- 1.7.10.4