fix odbc configure for OSX9
This commit is contained in:
7
configure
vendored
7
configure
vendored
@@ -5825,7 +5825,14 @@ $as_echo "$yap_cv_odbc" >&6; }
|
||||
if test "$yap_cv_odbc" = yes
|
||||
then
|
||||
YAP_EXTRAS="$YAP_EXTRAS -DMYDDAS_ODBC"
|
||||
case "$target_os" in
|
||||
*darwin9*)
|
||||
LIBS="$LIBS -lodbc -framework CoreFoundation"
|
||||
;;
|
||||
**)
|
||||
LIBS="$LIBS -lodbc"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
fi
|
||||
|
@@ -676,7 +676,14 @@ then
|
||||
if test "$yap_cv_odbc" = yes
|
||||
then
|
||||
YAP_EXTRAS="$YAP_EXTRAS -DMYDDAS_ODBC"
|
||||
case "$target_os" in
|
||||
*darwin9*)
|
||||
LIBS="$LIBS -lodbc -framework CoreFoundation"
|
||||
;;
|
||||
**)
|
||||
LIBS="$LIBS -lodbc"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
fi
|
||||
|
Reference in New Issue
Block a user