Skip to content

Commit

Permalink
#4100 also de-duplicate gstreamer dylibs
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Mar 22, 2024
1 parent 91ee811 commit 9f21267
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions packaging/MacOS/make-app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,17 @@ for x in `ls *dylib | grep -v libgst | sed 's+[0-9\.]*\.dylib++g' | sed 's+-$++g
done
fi
done
#gstreamer dylibs are easier
#all of them look like this: libgstXYZ-1.0.0.dylib / libgstXYZ-1.0.dylib
for x in `ls libgst*-1.0.0.dylib`; do
SHORT="`echo $x | sed 's/1.0.0/1.0/g'`"
cmp -s "$x" "$SHORT"
if [ "$?" == "0" ]; then
echo "(re)symlinking $SHORT to $x"
rm $SHORT
ln -sf $x $SHORT
fi
done
popd


Expand Down

0 comments on commit 9f21267

Please sign in to comment.