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