Resubmitted patch with -pthread instead of -lpthread.
--- bin/iodbc-config.in.orig    Thu Oct  4 17:44:58 2007
+++ bin/iodbc-config.in Thu Oct  4 17:45:33 2007
@@ -192,16 +192,16 @@
        echo "$includes"
 fi
 if test "$echo_libs" = "yes"; then
-       libs=""
+       libs="-pthread"
        if test "$lib_iodbc" = "yes"; then
                libs="$libs -liodbc -liodbcinst"
        fi
        echo "[EMAIL PROTECTED]@ $libs"
 fi
 if test "$echo_staticlibs" = "yes"; then
-       libs=""
+       libs="-pthread"
        if test "$lib_iodbc" = "yes"; then
-               libs="@libdir@/libiodbc.a @libdir@/libiodbcinst.a @LIBADD_DL@"
+               libs="$libs @libdir@/libiodbc.a @libdir@/libiodbcinst.a 
@LIBADD_DL@"
        fi
        echo "$libs"
 fi

Reply via email to