Title: [164211] releases/WebKitGTK/webkit-2.4
Revision
164211
Author
[email protected]
Date
2014-02-17 00:32:15 -0800 (Mon, 17 Feb 2014)

Log Message

Merge r163954 - 'ar T' is not portable and breaks the build on FreeBSD
https://bugs.webkit.org/show_bug.cgi?id=128596

Patch by Ryan Lortie <[email protected]> on 2014-02-12
Reviewed by Gustavo Noronha Silva.

Create thin archives only if we are using GNU ar.

* Source/autotools/SetupLibtool.m4:

Modified Paths

Diff

Modified: releases/WebKitGTK/webkit-2.4/ChangeLog (164210 => 164211)


--- releases/WebKitGTK/webkit-2.4/ChangeLog	2014-02-17 08:27:08 UTC (rev 164210)
+++ releases/WebKitGTK/webkit-2.4/ChangeLog	2014-02-17 08:32:15 UTC (rev 164211)
@@ -1,3 +1,14 @@
+2014-02-12  Ryan Lortie  <[email protected]>
+
+        'ar T' is not portable and breaks the build on FreeBSD
+        https://bugs.webkit.org/show_bug.cgi?id=128596
+
+        Reviewed by Gustavo Noronha Silva.
+
+        Create thin archives only if we are using GNU ar.
+
+        * Source/autotools/SetupLibtool.m4:
+
 2014-02-09  Carlos Garnacho  <[email protected]>
 
         [GTK] Enable touch features

Modified: releases/WebKitGTK/webkit-2.4/Source/autotools/SetupLibtool.m4 (164210 => 164211)


--- releases/WebKitGTK/webkit-2.4/Source/autotools/SetupLibtool.m4	2014-02-17 08:27:08 UTC (rev 164210)
+++ releases/WebKitGTK/webkit-2.4/Source/autotools/SetupLibtool.m4	2014-02-17 08:32:15 UTC (rev 164211)
@@ -6,7 +6,11 @@
 AC_SUBST([LIBWEBKIT2GTK_VERSION])
 
 if test -z "$AR_FLAGS"; then
-    AR_FLAGS="cruT"
+    if "${AR:-ar}" -V | grep -q 'GNU ar'; then
+        AR_FLAGS="cruT"
+    else
+        AR_FLAGS="cru"
+    fi
 fi
 AC_SUBST([AR_FLAGS])
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to