Commit 7564f8f7 authored by Rafaël Carré's avatar Rafaël Carré

contrib: don't use -arch flag of xcodebuild

It's only available since XCode4 on MacOSX 10.6
parent b3efd427
...@@ -20,7 +20,7 @@ bghudappkit: bghudappkit-git.tar.xz .sum-bghudappkit ...@@ -20,7 +20,7 @@ bghudappkit: bghudappkit-git.tar.xz .sum-bghudappkit
$(MOVE) $(MOVE)
.bghudappkit: bghudappkit .bghudappkit: bghudappkit
cd $< && xcodebuild -arch $(ARCH) -sdk macosx$(OSX_VERSION) cd $< && xcodebuild -sdk macosx$(OSX_VERSION)
install_name_tool -change @loader_path/../../../../../../../BGHUDAppKit.framework/Versions/A/BGHUDAppKit \ install_name_tool -change @loader_path/../../../../../../../BGHUDAppKit.framework/Versions/A/BGHUDAppKit \
@loader_path/../../../../Versions/A/BGHUDAppKit \ @loader_path/../../../../Versions/A/BGHUDAppKit \
$</build/Release/BGHUDAppKit.framework/Resources/BGHUDAppKitPlugin.ibplugin/Contents/MacOS/BGHUDAppKitPlugin $</build/Release/BGHUDAppKit.framework/Resources/BGHUDAppKitPlugin.ibplugin/Contents/MacOS/BGHUDAppKitPlugin
......
...@@ -23,6 +23,6 @@ growl: growl-$(GROWL_VERSION).tar.bz2 .sum-growl ...@@ -23,6 +23,6 @@ growl: growl-$(GROWL_VERSION).tar.bz2 .sum-growl
touch $@ touch $@
.growl: growl .growl: growl
cd $< && xcodebuild -target Growl.framework -configuration Release -arch $(ARCH) cd $< && xcodebuild -target Growl.framework -configuration Release
cd $< && cp -R -L build/Release/Growl.framework "$(PREFIX)" cd $< && cp -R -L build/Release/Growl.framework "$(PREFIX)"
touch $@ touch $@
...@@ -21,6 +21,6 @@ sparkle: sparkle-$(SPARKLE_VERSION).zip .sum-sparkle ...@@ -21,6 +21,6 @@ sparkle: sparkle-$(SPARKLE_VERSION).zip .sum-sparkle
touch $@ touch $@
.sparkle: sparkle .sparkle: sparkle
cd $</Extras/Source\ Code && $(MAKE) && xcodebuild -arch $(ARCH) cd $</Extras/Source\ Code && $(MAKE) && xcodebuild
cd $< && cp -R -L Extras/Source\ Code/build/release/Sparkle.framework "$(PREFIX)" cd $< && cp -R -L Extras/Source\ Code/build/release/Sparkle.framework "$(PREFIX)"
touch $@ touch $@
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment