- YAZLIB="-L${yaz_build_root}/lib/.libs $lyaz $yazextralibs"
- if test "$lib_thread" = "yes"; then
- YAZLALIB="${yaz_build_root}/lib/libyazthread.la ${yaz_build_root}/lib/libyaz.la $yazextralibs"
+
+ 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"
+ fi
+ if test "$lib_icu" = "yes"; then
+ YAZLIB="${yaz_build_root}/src/.libs/libyaz_icu.a $YAZLIB"
+ fi