mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-29 06:15:24 +00:00
58c36681ab
New in Qt 5.11 or so: platform-specific styling is now a separate plugin from the platform plugin.
16 lines
284 B
Bash
Executable File
16 lines
284 B
Bash
Executable File
#!/bin/zsh
|
|
|
|
while [[ -n $1 ]]; do
|
|
FILE=$1
|
|
shift
|
|
|
|
otool -L ${FILE} | \
|
|
grep -v : | \
|
|
grep -v @executable_path | \
|
|
awk '/libQt/ { print $1 }' | { \
|
|
while read LIB ; do
|
|
install_name_tool -change ${LIB} @executable_path/libs/${LIB:t} ${FILE}
|
|
done
|
|
}
|
|
done
|