CBL-Mariner/SPECS-EXTENDED/libiodbc/libiodbc-3.52.12-multilib.p...

37 строки
1.0 KiB
Diff

diff -up libiodbc-3.52.12/bin/iodbc-config.in.multilib libiodbc-3.52.12/bin/iodbc-config.in
--- libiodbc-3.52.12/bin/iodbc-config.in.multilib 2016-03-06 14:51:00.000000000 -0600
+++ libiodbc-3.52.12/bin/iodbc-config.in 2016-07-12 07:40:52.641935946 -0500
@@ -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