- YAZTAB=${yaz_src_root}/tab
- YAZBIN=${yaz_src_root}/bin
- YAZLIB="-L${yaz_src_root}/lib/.libs $lyaz $yazextralibs"
- if test "$lib_thread" = "yes"; then
- YAZLALIB="${yaz_src_root}/lib/libyazthread.la ${yaz_src_root}/lib/libyaz.la $yazextralibs"
- else
- YAZLALIB="${yaz_src_root}/lib/libyaz.la $yazextralibs"
+ YAZBIN=${yaz_build_root}/bin
+ YAZLIB="-L${yaz_build_root}/src/.libs $lyaz $yazextralibs"
+ YAZLALIB="${yaz_build_root}/src/libyaz.la $yazextralibs"
+ if test "$lib_thread" = "yes" -a -n "@CFLAGSTHREADS@"; then
+ YAZLALIB="${yaz_build_root}/src/libyazthread.la $YAZLALIB"