[vlc-commits] commit: VLCKit: Fix Pre-Compile.sh when building VLC-release.app. (Pierre d 'Herbemont )

git version control git at videolan.org
Thu Mar 4 19:35:10 CET 2010


vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Thu Mar  4 19:34:21 2010 +0100| [89c880953375a0e49f378f88af84444c1b00d101] | committer: Pierre d'Herbemont 

VLCKit: Fix Pre-Compile.sh when building VLC-release.app.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=89c880953375a0e49f378f88af84444c1b00d101
---

 projects/macosx/framework/Pre-Compile.sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/projects/macosx/framework/Pre-Compile.sh b/projects/macosx/framework/Pre-Compile.sh
index 37ec9fa..62bcf6f 100644
--- a/projects/macosx/framework/Pre-Compile.sh
+++ b/projects/macosx/framework/Pre-Compile.sh
@@ -245,7 +245,7 @@ vlc_install `dirname ${cache}` `basename ${cache}` ${target_plugins} "data"
 vlc_install "src/${prefix}" "libvlc.5.dylib" "${target_lib}" "lib"
 vlc_install "src/${prefix}" "libvlccore.4.dylib" "${target_lib}" "lib"
 pushd `pwd` > /dev/null
-cd ${TARGET_BUILD_DIR}/${FULL_PRODUCT_NAME}/lib
+cd ${target_lib}
 ln -sf libvlc.5.dylib libvlc.dylib
 ln -sf libvlccore.4.dylib libvlccore.dylib
 popd > /dev/null
@@ -263,7 +263,7 @@ $pbxcp ${main_build_dir}/share/lua ${target_share}
 if [ "$FULL_PRODUCT_NAME" = "VLC-release.app" ] ; then
     echo "Exporting headers..."
     mkdir -p ${target_include}/vlc
-    $pbxcp ${main_build_dir}/include/vlc/*.h ${target_include}/vlc
+    $pbxcp ${VLC_SRC_DIR}/include/vlc/*.h ${target_include}/vlc
 else
     echo "Headers not needed for this product"
 fi



More information about the vlc-commits mailing list