Explorar o código

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

Felix Paul Kühne %!s(int64=9) %!d(string=hai) anos
pai
achega
422f099028
Modificáronse 1 ficheiros con 3 adicións e 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