Files
gentoo/dev-db/libiodbc/files/libiodbc-3.52.12-multilib.patch
Sam James 6121193b54 dev-db/libiodbc: port to EAPI 7
Three warnings killed for the price of 1!
* DeprecatedEclass (ltprune)
* MissingUnpackerDep
* TarballAvailable

Signed-off-by: Sam James <sam@gentoo.org>
2021-03-05 18:00:41 +00:00

36 lines
849 B
Diff

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