summaryrefslogtreecommitdiff
path: root/data/rubyobjc_/make.sh
diff options
context:
space:
mode:
Diffstat (limited to 'data/rubyobjc_/make.sh')
-rw-r--r--data/rubyobjc_/make.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rubyobjc_/make.sh b/data/rubyobjc_/make.sh
index 20502ad1e..bddcec3f2 100644
--- a/data/rubyobjc_/make.sh
+++ b/data/rubyobjc_/make.sh
@@ -7,7 +7,7 @@ for bridge in foundation uikit; do
ruby ../ruby/bridge.rb "${bridge}" >../ruby/"${bridge}".rb
done
erb fast_handlers.ri >fast_handlers.i
-arm-apple-darwin-gcc -o objc.bundle -bundle *.m -I"${PKG_ROOT}"/usr/lib/ruby/1.8/arm-darwin -lffi -lobjc -framework Foundation -framework CoreFoundation -lruby -framework UIKit
+${PKG_TARG}-gcc -o objc.bundle -bundle *.m -I"${PKG_ROOT}"/usr/lib/ruby/1.8/arm-darwin -lffi -lobjc -framework Foundation -framework CoreFoundation -lruby -framework UIKit
pkg: mkdir -p /usr/lib/ruby/site_ruby/1.8/arm-darwin
pkg: cp -a objc.bundle /usr/lib/ruby/site_ruby/1.8/arm-darwin
cd ../ruby