Explorar el Código

Pre-compile script: fix execution if lua is disabled in libvlc compilation

Felix Paul Kühne hace 9 años
padre
commit
422f099028
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  1. 3 2
      Pre-Compile.sh

+ 3 - 2
Pre-Compile.sh

@@ -277,8 +277,9 @@ echo "Building share folder..."
 echo ${VLC_BUILD_DIR}
 pbxcp="cp -R -L"
 mkdir -p ${target_share}
-if test "$use_archs" = "no"; then
+if test -d ${VLC_BUILD_DIR}/share/lua; then
     $pbxcp ${VLC_BUILD_DIR}/share/lua ${target_share}
-else
+fi
+if test -d ${main_build_dir}/share/lua; then
     $pbxcp ${main_build_dir}/share/lua ${target_share}
 fi