--- 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
