mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-04-05 20:31:00 +08:00
Using iodbc-config --cflags --libs to get config
This commit is contained in:
parent
4b08559d66
commit
70ee236de9
@ -86,8 +86,8 @@ AC_ARG_WITH(iodbc,
|
||||
[ --with-iodbc=/path/to/iodbc build odbc driver against iODBC])
|
||||
if test "$with_iodbc"; then
|
||||
HAVE_ODBC=true
|
||||
ODBC_CFLAGS="-I$with_iodbc/include"
|
||||
ODBC_LIBS="-L$with_iodbc/lib"
|
||||
ODBC_CFLAGS=$(iodbc-config --prefix="$with_iodbc" --cflags)
|
||||
ODBC_LIBS=$(iodbc-config --prefix="$with_iodbc" --libs)
|
||||
CFLAGS="$CFLAGS -DIODBC"
|
||||
|
||||
OLDLDFLAGS=$LDFLAGS
|
||||
|
Loading…
Reference in New Issue
Block a user