From: <cod...@go...> - 2010-06-18 00:32:21
|
Revision: 416 Author: wol...@gm... Date: Thu Jun 17 17:26:14 2010 Log: Apply the relevant part of fix-bindings.patch as supplied by bickfordb to allow people to select their Mac OS X SDK via an environment variable when creating bindings. Also update the README accordingly. http://code.google.com/p/hoc/source/detail?r=416 Modified: /trunk/hoc/Bindings/make-bindings-macos.sh /trunk/hoc/README.txt ======================================= --- /trunk/hoc/Bindings/make-bindings-macos.sh Sun Oct 19 13:32:25 2008 +++ /trunk/hoc/Bindings/make-bindings-macos.sh Thu Jun 17 17:26:14 2010 @@ -1,3 +1,4 @@ +set -x function build() { pushd HOC-$1 @@ -10,7 +11,12 @@ ARGUMENTS=$* OPTS= -IFGEN=hoc-ifgen +IFGEN="hoc-ifgen" + +if [ "$HOC_SDK" != "" ]; +then + IFGEN="$IFGEN -s $HOC_SDK" +fi set -e mkdir -p Generated ======================================= --- /trunk/hoc/README.txt Sun Sep 27 03:10:58 2009 +++ /trunk/hoc/README.txt Thu Jun 17 17:26:14 2010 @@ -51,7 +51,7 @@ 2. Create the bindings: cd Bindings - sudo sh make-bindings-macos.sh + sudo HOC_SDK=MacOSX10.5 sh make-bindings-macos.sh cd .. 3. Build the hoc-wrap tool: |