summaryrefslogtreecommitdiff
blob: e2819211ccac2f59bbb76cfffcd04bce4e94275d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
diff --git a/bin/iodbc-config.in b/bin/iodbc-config.in
index 08d46ae..576aa8b 100644
--- a/bin/iodbc-config.in
+++ b/bin/iodbc-config.in
@@ -145,10 +145,10 @@ while test $# -gt 0; do
       echo_libs=yes
       ;;
    --static-libs)
-      echo_staticlibs=yes
+      echo_libs=yes
       ;;
    --libtool-libs)
-      echo_libtoollibs=yes
+      echo_libs=yes
       ;;
    --data-dir)
       echo_data_dir=yes
@@ -196,19 +196,5 @@ if test "$echo_libs" = "yes"; then
 	if test "$lib_iodbc" = "yes"; then
 		libs="$libs -liodbc -liodbcinst"
 	fi
-	echo "-L@libdir@ $libs"
-fi
-if test "$echo_staticlibs" = "yes"; then
-	libs=""
-	if test "$lib_iodbc" = "yes"; then
-		libs="@libdir@/libiodbc.a @libdir@/libiodbcinst.a -lpthread @LIBADD_DL@"
-	fi
-	echo "$libs"
-fi
-if test "$echo_libtoollibs" = "yes"; then
-	libs=""
-	if test "$lib_iodbc" = "yes"; then
-		libs="@libdir@/libiodbc.la @libdir@/libiodbcinst.la"
-	fi
 	echo "$libs"
 fi