From 1252daa48c1303465e00fccb7f7287d2d6b179ed Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 15 Oct 2001 20:37:08 +0000 Subject: [PATCH] Fix for --libs when pthread was selected on OpenBSD. --- yaz-config.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yaz-config.in b/yaz-config.in index 53578bb..6f2cd24 100644 --- a/yaz-config.in +++ b/yaz-config.in @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: yaz-config.in,v 1.9 2001-10-05 13:55:17 adam Exp $ +# $Id: yaz-config.in,v 1.10 2001-10-15 20:37:08 adam Exp $ yazprefix=@prefix@ yaz_echo_cflags=no yaz_echo_libs=no @@ -79,7 +79,7 @@ while test $# -gt 0; do shift done -if test "$lib_thread" = "yes" -a -n "@LIBTHREAD@"; then +if test "$lib_thread" = "yes" -a -n "@CFLAGSTHREADS@"; then yazextralibs="@LIBTHREAD@ $yazextralibs" lyaz="-lyazthread -lyaz" else @@ -89,7 +89,7 @@ if test "$yaz_echo_source" = "yes"; then YAZTAB=${yaz_src_root}/tab YAZBIN=${yaz_build_root}/bin YAZLIB="-L${yaz_build_root}/lib/.libs $lyaz $yazextralibs" - if test "$lib_thread" = "yes"; then + if test "$lib_thread" = "yes" -a -n "@CFLAGSTHREADS@"; then YAZLALIB="${yaz_build_root}/lib/libyazthread.la ${yaz_build_root}/lib/libyaz.la $yazextralibs" else YAZLALIB="${yaz_build_root}/lib/libyaz.la $yazextralibs" -- 1.7.10.4