[Xquartz-changes] [656] trunk/mk_x11_dist.sh
source_changes at macosforge.org
source_changes at macosforge.org
Fri Aug 31 00:49:30 PDT 2012
Revision: 656
http://trac.macosforge.org/projects/xquartz/changeset/656
Author: jeremyhu at freedesktop.org
Date: 2012-08-31 00:49:28 -0700 (Fri, 31 Aug 2012)
Log Message:
-----------
Check for invalid linking
Modified Paths:
--------------
trunk/mk_x11_dist.sh
Modified: trunk/mk_x11_dist.sh
===================================================================
--- trunk/mk_x11_dist.sh 2012-08-31 06:03:52 UTC (rev 655)
+++ trunk/mk_x11_dist.sh 2012-08-31 07:49:28 UTC (rev 656)
@@ -216,6 +216,10 @@
find X11 -type f | while read file ; do
if /usr/bin/file "${file}" | grep -q "Mach-O" ; then
codesign -s "Developer ID Application: Apple Inc. - XQuartz" "${file}"
+
+ if otool -L "${file}" | grep -q "local/lib" ; then
+ die "=== ${file} links against an invalid library ==="
+ fi
fi
done
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/xquartz-changes/attachments/20120831/abe2da06/attachment.html>
More information about the Xquartz-changes
mailing list