Title: [122100] trunk/Source/WebKit2
- Revision
- 122100
- Author
- [email protected]
- Date
- 2012-07-09 02:33:27 -0700 (Mon, 09 Jul 2012)
Log Message
Fix the Mac build when codesign_allocate is not installed at /usr/bin.
* PluginProcess/mac/add-entitlements.sh: Let codesign(1) know where the codesign_allocate
tool is by setting the CODESIGN_ALLOCATE environment variable to its path as obtained with
xcrun.
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (122099 => 122100)
--- trunk/Source/WebKit2/ChangeLog 2012-07-09 08:53:48 UTC (rev 122099)
+++ trunk/Source/WebKit2/ChangeLog 2012-07-09 09:33:27 UTC (rev 122100)
@@ -1,3 +1,11 @@
+2012-07-09 Dan Bernstein <[email protected]>
+
+ Fix the Mac build when codesign_allocate is not installed at /usr/bin.
+
+ * PluginProcess/mac/add-entitlements.sh: Let codesign(1) know where the codesign_allocate
+ tool is by setting the CODESIGN_ALLOCATE environment variable to its path as obtained with
+ xcrun.
+
2012-07-06 Christophe Dumez <[email protected]>
[WK2] Add support for Network Information API
Modified: trunk/Source/WebKit2/PluginProcess/mac/add-entitlements.sh (122099 => 122100)
--- trunk/Source/WebKit2/PluginProcess/mac/add-entitlements.sh 2012-07-09 08:53:48 UTC (rev 122099)
+++ trunk/Source/WebKit2/PluginProcess/mac/add-entitlements.sh 2012-07-09 09:33:27 UTC (rev 122100)
@@ -32,4 +32,8 @@
exit
fi
+if [ ! $CODESIGN_ALLOCATE ]; then
+ export CODESIGN_ALLOCATE=$(xcrun -find codesign_allocate)
+fi
+
codesign -f -s - --entitlements "${entitlement_file}" "${app_path}"
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes