aboutsummaryrefslogtreecommitdiffstats
path: root/lib/odbc
diff options
context:
space:
mode:
authorconscell <[email protected]>2013-11-18 16:40:41 +0900
committerIngela Anderton Andin <[email protected]>2014-01-28 15:15:03 +0100
commit64ef6bffe0d53f7b815064b5ccf79d52d553543a (patch)
tree07cad4a53ff7d0f8e2cad903065210036d1dabe0 /lib/odbc
parent9ec3ad0d292a5b89a332cb24ed2246a3bfdf9443 (diff)
downloadotp-64ef6bffe0d53f7b815064b5ccf79d52d553543a.tar.gz
otp-64ef6bffe0d53f7b815064b5ccf79d52d553543a.tar.bz2
otp-64ef6bffe0d53f7b815064b5ccf79d52d553543a.zip
fixes problem with ODBC on OS X 10.9 Mavericks
Since Apple has removed iODBC from the default OS X 10.9 Mavericks installation I tried to compile Erlang R16B02 with unixODBC. Even with installed unixODBC and specified --with-odbc=[path to my unixODBC] option Erlang R16B02 still uses iODBC (because Apple has left some iODBC binaries): 1> odbc:start(). ok 2> odbc:connect("",[]). {error,"[iODBC][Driver Manager]No data source or driver specified, dialog prohibited SQLSTATE IS: IM007 Connection to database failed."}
Diffstat (limited to 'lib/odbc')
-rw-r--r--lib/odbc/configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/odbc/configure.in b/lib/odbc/configure.in
index fa81f36e98..f86146759c 100644
--- a/lib/odbc/configure.in
+++ b/lib/odbc/configure.in
@@ -136,7 +136,7 @@ AC_SUBST(THR_LIBS)
odbc_lib_link_success=no
AC_SUBST(TARGET_FLAGS)
case $host_os in
- darwin*)
+ darwin1[[0-2]].*|darwin[[0-9]].*)
TARGET_FLAGS="-DUNIX"
if test ! -d "$with_odbc" || test "$with_odbc" = "yes"; then
ODBC_LIB= -L"/usr/lib"