deploy_macos: copy gst plugin dep in lib

This commit is contained in:
Stéphane Cerveau 2023-08-26 21:00:29 +02:00
parent aa66eb37de
commit d2b1c8875e

View file

@ -67,9 +67,11 @@ function lib_dependency_copy
echo "Unsupport path: $lib" echo "Unsupport path: $lib"
fi fi
else else
if [[ $lib != $target ]]; then
cp -n $lib $folder cp -n $lib $folder
fi fi
fi fi
fi
done done
} }
@ -105,7 +107,7 @@ lib_dependency_copy ${TARGETDIR}/lib/libsoup-2.4.1.dylib "${TARGETDIR}/bin"
for file in ${TARGETDIR}/lib/gstreamer-1.0/*.dylib for file in ${TARGETDIR}/lib/gstreamer-1.0/*.dylib
do do
echo "${file}" echo "${file}"
lib_dependency_copy ${file} "${TARGETDIR}/lib/gstreamer-1.0" lib_dependency_copy ${file} "${TARGETDIR}/lib/"
done done
test_ok cp -f "${PROJECTDIR}/macos/mac_launcher.sh" "${TARGETDIR}/bin/launcher.sh" test_ok cp -f "${PROJECTDIR}/macos/mac_launcher.sh" "${TARGETDIR}/bin/launcher.sh"