diff options
author | Adolfo E. García <adolfo.garcia.cr@gmail.com> | 2017-10-16 01:27:07 +0300 |
---|---|---|
committer | Adolfo E. García <adolfo.garcia.cr@gmail.com> | 2017-10-21 19:12:28 +0300 |
commit | 7198f20d6931bd39a17f41bd01d0c9d93ba56f10 (patch) | |
tree | be6f2b0155c949d7ff290fb3560942a1fea0169e /utils | |
parent | de065c728fb7600ec368e895ba4faab656c0dc0a (diff) |
Improve building of macOS target
Diffstat (limited to 'utils')
-rwxr-xr-x | utils/fix_mac.sh | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/utils/fix_mac.sh b/utils/fix_mac.sh deleted file mode 100755 index 2e4e84e5e..000000000 --- a/utils/fix_mac.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash - -# Canonical path to qt5 directory -QT="/usr/local/Cellar/qt" -if [ ! -d "$QT" ]; then - # Alternative (old) path to qt5 directory - QT+="5" - if [ ! -d "$QT" ]; then - echo "Qt/Qt5 not found!" - exit - fi -fi -QT5_DIR="$QT/$(ls $QT | sort -r | head -n1)" -echo $QT5_DIR - -# Change qt5 framework ids -for framework in $(find "$QT5_DIR/lib" -regex ".*/\(Qt[a-zA-Z]*\)\.framework/Versions/5/\1"); do - echo "$framework" - install_name_tool -id "$framework" "$framework" -done |