diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-11-29 21:38:27 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-11-29 21:38:27 +0000 |
| commit | 75c07dd78f6e30c7c91ed34c2caef1ffe96d7287 (patch) | |
| tree | ec80803d56b394bc0d8aa8ee4ecc7f8eddc31b21 /platform | |
| parent | 747fc9e02cb66fb965e23a4cc0464cf7e8bd743d (diff) | |
Try to fix build of .dmg for 32-bit OS X.
Diffstat (limited to 'platform')
| -rw-r--r-- | platform/osx/make_dmg.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/platform/osx/make_dmg.sh b/platform/osx/make_dmg.sh index ccff4d567..5280d3ede 100644 --- a/platform/osx/make_dmg.sh +++ b/platform/osx/make_dmg.sh @@ -91,7 +91,9 @@ for obj in $WORK/$macos/dcpomatic $WORK/$macos/ffprobe $WORK/$libs/*.dylib; do changes="" for dep in $deps; do base=`basename $dep` - changes="$changes -change $dep @executable_path/../lib/$base" + # $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 |
