OS X build hack.
authorCarl Hetherington <cth@carlh.net>
Fri, 25 Jul 2014 19:10:46 +0000 (20:10 +0100)
committerCarl Hetherington <cth@carlh.net>
Fri, 25 Jul 2014 19:10:46 +0000 (20:10 +0100)
platform/osx/make_dmg.sh

index a9d40c30a94a51d8b5505df0f0e5ab91119b976a..1a5565a56eafa8bdefb3d06dd6e64fe93a046cf8 100644 (file)
@@ -109,7 +109,7 @@ universal_copy_lib $ENV libcairo "$WORK/$libs"
 relink=`echo $relink | sed -e "s/\+//g"`
 
 for obj in "$WORK/$macos/dcpomatic2" "$WORK/$macos/dcpomatic2_batch" "$WORK/$macos/dcpomatic2_cli" "$WORK/$macos/dcpomatic2_server_cli" "$WORK/$macos/ffprobe" "$WORK/$libs/"*.dylib; do
-  deps=`otool -L "$obj" | awk '{print $1}' | egrep "($relink)"`
+  deps=`otool -L "$obj" | awk '{print $1}' | egrep "($relink)" | grep Environment`
   changes=""
   for dep in $deps; do
       echo "Relinking $dep into $obj"