Commit 89c88095 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

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

parent 84b88ba5
...@@ -245,7 +245,7 @@ vlc_install `dirname ${cache}` `basename ${cache}` ${target_plugins} "data" ...@@ -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}" "libvlc.5.dylib" "${target_lib}" "lib"
vlc_install "src/${prefix}" "libvlccore.4.dylib" "${target_lib}" "lib" vlc_install "src/${prefix}" "libvlccore.4.dylib" "${target_lib}" "lib"
pushd `pwd` > /dev/null pushd `pwd` > /dev/null
cd ${TARGET_BUILD_DIR}/${FULL_PRODUCT_NAME}/lib cd ${target_lib}
ln -sf libvlc.5.dylib libvlc.dylib ln -sf libvlc.5.dylib libvlc.dylib
ln -sf libvlccore.4.dylib libvlccore.dylib ln -sf libvlccore.4.dylib libvlccore.dylib
popd > /dev/null popd > /dev/null
...@@ -263,7 +263,7 @@ $pbxcp ${main_build_dir}/share/lua ${target_share} ...@@ -263,7 +263,7 @@ $pbxcp ${main_build_dir}/share/lua ${target_share}
if [ "$FULL_PRODUCT_NAME" = "VLC-release.app" ] ; then if [ "$FULL_PRODUCT_NAME" = "VLC-release.app" ] ; then
echo "Exporting headers..." echo "Exporting headers..."
mkdir -p ${target_include}/vlc 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 else
echo "Headers not needed for this product" echo "Headers not needed for this product"
fi fi
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