Merge pull request #261 from thesamesam/dev

configure.ac: Respect --libdir for unixODBC
This commit is contained in:
Evan Miller
2021-02-27 11:16:16 -05:00
committed by GitHub

View File

@@ -157,7 +157,7 @@ AC_ARG_WITH(unixodbc,
if test "$with_unixodbc"; then if test "$with_unixodbc"; then
HAVE_ODBC=true HAVE_ODBC=true
ODBC_CFLAGS="-I$with_unixodbc/include" ODBC_CFLAGS="-I$with_unixodbc/include"
ODBC_LIBS="-L$with_unixodbc/lib" ODBC_LIBS="-L$with_unixodbc/$libdir"
CFLAGS="$CFLAGS -DUNIXODBC" CFLAGS="$CFLAGS -DUNIXODBC"
dnl SIZEOF_LONG_INT and HAVE_LONG_LONG are required by some versions of unixODBC dnl SIZEOF_LONG_INT and HAVE_LONG_LONG are required by some versions of unixODBC