mirror of
https://gitlab.freedesktop.org/dabrain34/GstPipelineStudio.git
synced 2024-11-24 18:10:59 +00:00
macos: relocate the libraries with rpath
This commit is contained in:
parent
0a48ff3d58
commit
aa66eb37de
1 changed files with 10 additions and 0 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue