macos: relocate the libraries with rpath

This commit is contained in:
Stéphane Cerveau 2023-06-15 14:56:53 +02:00 committed by Stéphane Cerveau
parent 0a48ff3d58
commit aa66eb37de

View file

@ -110,6 +110,16 @@ fi
cp $APP_BUILD/bin/*.dylib $APP_LIB_DIR
chmod -R 766 $APP_LIB_DIR
echo -n "relocate the gstreamer plugins......"
for file in $APP_LIB_DIR/gstreamer-1.0/*.dylib
do
echo "relocating ${file}"
lib_change_paths \
@executable_path/../Resources/lib \
$APP_LIB_DIR \
${file}
done
lib_change_paths \
@executable_path/../Resources/lib \
$APP_LIB_DIR \