diff options
author | rowanbeentje <rowan@beent.je> | 2010-03-09 00:42:40 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2010-03-09 00:42:40 +0000 |
commit | a84dc8b16083f397d41d96491c0fc774b2acfe20 (patch) | |
tree | 480af348762535292d6eeb69d672ee891ac2041d /Scripts/build-mysql-client.sh | |
parent | fbf6b93e1cc68a8256d75ab7a7eaeac0a7b23712 (diff) | |
download | sequelpro-a84dc8b16083f397d41d96491c0fc774b2acfe20.tar.gz sequelpro-a84dc8b16083f397d41d96491c0fc774b2acfe20.tar.bz2 sequelpro-a84dc8b16083f397d41d96491c0fc774b2acfe20.zip |
- Update MySQL client libraries to 5.1.44, incorporating all changes since previous 5.1.36
- Update MySQL client build script for snow leopard compatibility, and to build the client libraries as a three-way binary (x86/ppc/x86_64) in keeping with the rest of Sequel Pro
Diffstat (limited to 'Scripts/build-mysql-client.sh')
-rwxr-xr-x | Scripts/build-mysql-client.sh | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Scripts/build-mysql-client.sh b/Scripts/build-mysql-client.sh index 09e373f2..1d0464e3 100755 --- a/Scripts/build-mysql-client.sh +++ b/Scripts/build-mysql-client.sh @@ -17,8 +17,8 @@ DEBUG='NO' CLEAN='NO' # C/C++ compiler flags -export CFLAGS='-arch ppc -arch i386 -arch ppc64 -arch x86_64 -O3 -fno-omit-frame-pointer' -export CXXFLAGS='-arch ppc -arch i386 -arch ppc64 -arch x86_64 -O3 -fno-omit-frame-pointer -felide-constructors -fno-exceptions -fno-rtti' +export CFLAGS='-isysroot /Developer/SDKs/MacOSX10.5.sdk -arch ppc -arch i386 -arch x86_64 -O3 -fno-omit-frame-pointer -mmacosx-version-min=10.5' +export CXXFLAGS='-isysroot /Developer/SDKs/MacOSX10.5.sdk -arch ppc -arch i386 -arch x86_64 -O3 -fno-omit-frame-pointer -felide-constructors -fno-exceptions -fno-rtti -mmacosx-version-min=10.5' CONFIGURE_OPTIONS='--without-server --enable-thread-safe-client --disable-dependency-tracking' BINARY_DISTRIBUTION_SCRIPT='scripts/make_binary_distribution' @@ -44,8 +44,8 @@ then fi echo '' -echo "This script builds the MySQL client libraries for distrubution in Sequel Pro's MCPKit MySQL framework." -echo 'The are all built as 4-way (32/64 bit, i386/PPC arch) binaries.' +echo "This script builds the MySQL client libraries for distribution in Sequel Pro's MCPKit MySQL framework." +echo 'They are all built as 3-way binaries (32 bit PPC, 32/64 bit i386).' echo '' echo -n 'This may take a while, are you sure you want to continue [y | n]: ' @@ -111,9 +111,9 @@ fi if [ $? -eq 0 ] then - echo 'Bulding libraries successfully completed' + echo 'Building libraries successfully completed' else - echo 'Bulding libraries failed. Exiting...' + echo 'Building libraries failed. Exiting...' exit 1 fi @@ -128,9 +128,9 @@ fi if [ $? -eq 0 ] then - echo 'Bulding binary distribution successfully completed' + echo 'Building binary distribution successfully completed' else - echo 'Bulding binary distribution failed. Exiting...' + echo 'Building binary distribution failed. Exiting...' exit 1 fi |