Fix for Mac compiling (by Tonya Souther) default tip

Sun, 25 Mar 2012 19:52:16 -0700

author
Tank_Master
date
Sun, 25 Mar 2012 19:52:16 -0700
changeset 23
0b96a1bc30df
parent 22
babb2903d14c

Fix for Mac compiling (by Tonya Souther)

build-cmd.sh file | annotate | diff | revisions
     1.1 --- a/build-cmd.sh	Sat Mar 10 00:13:12 2012 -0800
     1.2 +++ b/build-cmd.sh	Sun Mar 25 19:52:16 2012 -0700
     1.3 @@ -55,10 +55,11 @@
     1.4  	mv "$stage_lib/libboost_wave-vc100-mt-gd-1_45.lib" "$stage_debug"
     1.5          ;;
     1.6      "darwin")
     1.7 +    	export MACOSX_DEPLOYMENT_TARGET=10.5
     1.8  	stage_lib="$stage/lib"
     1.9  	./bootstrap.sh --prefix=$(pwd)
    1.10  
    1.11 -	./bjam toolset=darwin address-model=32 architecture=x86 variant=release $BOOST_BJAM_OPTIONS stage
    1.12 +	./bjam toolset=darwin address-model=32 architecture=x86 macosx-version=10.5 macosx-version-min=10.5 variant=release $BOOST_BJAM_OPTIONS stage
    1.13  	stage_release="$stage_lib/release"
    1.14  	mkdir -p "$stage_release"
    1.15  	mv "$stage_lib/libboost_program_options.a" "$stage_release"
    1.16 @@ -69,8 +70,8 @@
    1.17  	mv "$stage_lib/libboost_thread.a" "$stage_release"
    1.18  	mv "$stage_lib/libboost_wave.a" "$stage_release"
    1.19  
    1.20 -	./bjam toolset=darwin  address-model=32 architecture=x86 variant=debug $BOOST_BJAM_OPTIONS stage
    1.21 -	stage_debug="$stage/lib/debug"
    1.22 +	./bjam toolset=darwin address-model=32 architecture=x86 macosx-version=10.5 macosx-version-min=10.5 variant=debug $BOOST_BJAM_OPTIONS stage
    1.23 +	stage_debug="$stage_lib/debug"
    1.24  	mkdir -p "$stage_debug"
    1.25  	mv "$stage_lib/libboost_program_options.a" "$stage_debug"
    1.26  	mv "$stage_lib/libboost_regex.a" "$stage_debug"

mercurial