projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
747fc9e
)
Try to fix build of .dmg for 32-bit OS X.
author
Carl Hetherington
<cth@carlh.net>
Fri, 29 Nov 2013 21:38:27 +0000
(21:38 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Fri, 29 Nov 2013 21:38:27 +0000
(21:38 +0000)
platform/osx/make_dmg.sh
patch
|
blob
|
history
diff --git
a/platform/osx/make_dmg.sh
b/platform/osx/make_dmg.sh
index ccff4d567c5c16318ecd094d9a18b2c9f5c067f4..5280d3ededacd25a9b5353fb2fd06018b5ccce59 100644
(file)
--- 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