summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-07-25 14:07:51 +0100
committerCarl Hetherington <cth@carlh.net>2014-07-25 14:07:51 +0100
commit4b3560d02b73c589e5b96e2ba44e27912beb2629 (patch)
tree6fde2b7f41a48d173ff30a4f227b5bf727eedb0b
parent1cfd4c2781826e1b36341e570b64c687b3893fcc (diff)
Revert bad OS X build change.
-rw-r--r--platform/osx/make_dmg.sh14
1 files changed, 5 insertions, 9 deletions
diff --git a/platform/osx/make_dmg.sh b/platform/osx/make_dmg.sh
index 92d707d80..a9d40c30a 100644
--- a/platform/osx/make_dmg.sh
+++ b/platform/osx/make_dmg.sh
@@ -112,15 +112,11 @@ for obj in "$WORK/$macos/dcpomatic2" "$WORK/$macos/dcpomatic2_batch" "$WORK/$mac
deps=`otool -L "$obj" | awk '{print $1}' | egrep "($relink)"`
changes=""
for dep in $deps; do
- if [ ! -h "$dep" ]; then
- echo "Relinking $dep into $obj"
- base=`basename $dep`
- # $dep will be a path within 64/; make a 32/ path too
- dep32=`echo $dep | sed -e "s/\/64\//\/32\//g"`
- changes="$changes -change $dep @executable_path/../lib/$base -change $dep32 @executable_path/../lib/$base"
- else
- echo "Not relinking symlink $dep"
- fi
+ echo "Relinking $dep into $obj"
+ base=`basename $dep`
+ # $dep will be a path within 64/; make a 32/ path too
+ dep32=`echo $dep | sed -e "s/\/64\//\/32\//g"`
+ changes="$changes -change $dep @executable_path/../lib/$base -change $dep32 @executable_path/../lib/$base"
done
if test "x$changes" != "x"; then
install_name_tool $changes "$obj"