diff --git a/buildMobileVLCKit.sh b/buildMobileVLCKit.sh index 6154b91..1f1b9cc 100755 --- a/buildMobileVLCKit.sh +++ b/buildMobileVLCKit.sh @@ -514,6 +514,7 @@ buildLibVLC() { export ac_cv_func_clock_getres=no export ac_cv_func_clock_gettime=no export ac_cv_func_clock_settime=no + export ac_cv_func_pipe2=no export ac_cv_func_dirname_r=no export ac_cv_func_getentropy=no export ac_cv_func_mkostemp=no @@ -710,7 +711,7 @@ buildLibVLC() { info "Installing libvlc" make install > ${out} - find ${PREFIX}/lib/vlc/plugins -name *.a -type f -exec cp '{}' ${PREFIX}/lib/vlc/plugins \; + find ${PREFIX}/lib/vlc/plugins -mindepth 2 -name *.a -type f -exec cp '{}' ${PREFIX}/lib/vlc/plugins \; rm -rf "${PREFIX}/contribs" cp -R "${VLCROOT}/contrib/${OSSTYLE}${PLATFORM_IDENTIFIER}-${HOST_TRIPLET}-${ARCH}" "${PREFIX}/contribs"