]> git.sesse.net Git - vlc/commitdiff
contrib: fix bghudappkit for xcodebuild of vlc project
authorRafaël Carré <funman@videolan.org>
Thu, 24 Nov 2011 23:03:15 +0000 (18:03 -0500)
committerRafaël Carré <funman@videolan.org>
Thu, 24 Nov 2011 23:03:15 +0000 (18:03 -0500)
contrib/src/bghudappkit/rules.mak

index 304796ddb4e5566c81c076dc9be161db3c70cb0c..0f39e04ff6fba508bf2945cbb2c745bb90ae7e5a 100644 (file)
@@ -21,5 +21,8 @@ bghudappkit: bghudappkit-git.tar.xz .sum-bghudappkit
 
 .bghudappkit: bghudappkit
        cd $< && xcodebuild -arch $(ARCH) -sdk macosx$(OSX_VERSION)
+       install_name_tool -change @loader_path/../../../../../../../BGHUDAppKit.framework/Versions/A/BGHUDAppKit \
+                                                               @loader_path/../../../../Versions/A/BGHUDAppKit \
+               $</build/Release/BGHUDAppKit.framework/Resources/BGHUDAppKitPlugin.ibplugin/Contents/MacOS/BGHUDAppKitPlugin
        cd $< && cp -R -L build/Release/BGHUDAppKit.framework "$(PREFIX)"
        touch $@