ports/net/openldap21-server/files/patch-configure
Oliver Eikemeier 630d04fd83 Fix iODBC detection on 4.x
Prompted by:	Viktor Steinmann <viktor.steinmann@ch.easynet.net>,
		Marc Rassbach <marc@milestonerdl.com>
2004-05-07 18:19:29 +00:00

20 lines
539 B
Text

--- configure.orig Wed Apr 14 23:11:09 2004
+++ configure Wed May 5 12:45:52 2004
@@ -20586,7 +20586,7 @@
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
-LIBS="-liodbc $LIBS"
+LIBS="-liodbc $LIBS $LTHREAD_LIBS"
cat > conftest.$ac_ext <<EOF
#line 20592 "configure"
#include "confdefs.h"
@@ -20630,7 +20630,7 @@
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
-LIBS="-lodbc $LIBS"
+LIBS="-lodbc $LIBS $LTHREAD_LIBS"
cat > conftest.$ac_ext <<EOF
#line 20636 "configure"
#include "confdefs.h"