Permalink
Browse files

Added support for Mac OS X 10.8

  • Loading branch information...
1 parent 9e0f631 commit 68085bfc4b8727a2bf52f1fbadb12e9228a0fd73 iODBC Maintainer committed Jan 8, 2013
Showing with 18 additions and 0 deletions.
  1. +18 −0 PORT.OpenLink
View
@@ -297,6 +297,24 @@ case $OS in
$BUILD 64
;;
+ *-apple-darwin12*)
+ PREFIX=/usr/local/iODBC.darwin
+ CONFLAGS="--disable-shared --with-pic"
+ CFLAGS="-O -m32"
+ export CFLAGS CONFLAGS PREFIX
+ $BUILD 32
+
+ CFLAGS="-O -m64"
+ export CFLAGS
+ $BUILD 64
+
+ PREFIX=/usr/local/iODBC.universal
+ CONFLAGS="--disable-shared --with-pic --disable-dependency-tracking"
+ CFLAGS="-O -mmacosx-version-min=10.7 -arch i386 -arch x86_64"
+ export PREFIX CONFLAGS CFLAGS
+ $BUILD universal
+ ;;
+
i[3456]86-apple-darwin11*)
PREFIX=/usr/local/iODBC.darwin
CONFLAGS="--disable-shared --with-pic"

0 comments on commit 68085bf

Please sign in to comment.