Commit Graph
2 Commits
Author SHA1 Message Date
Cédric Luthi 0d67eb4c73 Fix ODBC_LIBS for unixODBC (#415)
Using `$libdir` doesn't work and produces an error when configuring with ` ./configure --with-unixodbc=$(brew --prefix)`

> configure:21209: gcc -o conftest -g -O2 -Wall -Werror   -L/opt/homebrew/${exec_prefix}/lib conftest.c -lodbcinst   >&5
> ld: warning: directory not found for option '-L/opt/homebrew/${exec_prefix}/lib'
> ld: library not found for -lodbcinst
> clang: error: linker command failed with exit code 1 (use -v to see invocation)

Note that `warning: directory not found for option '-L/.../${exec_prefix}/lib'` is always emitted but if unixodbc is installed in `/usr/local/lib` linking would still work.
2023-07-04 14:56:41 -04:00
Cédric Luthi 633d1c091f Make DSN and DBQ extraction from connection string case insensitive (#414) 2023-07-03 15:34:02 -04:00