Title: [141467] trunk/Tools
Revision
141467
Author
[email protected]
Date
2013-01-31 12:51:09 -0800 (Thu, 31 Jan 2013)

Log Message

[Qt] Prospective build fix.

Reviewed by Jocelyn Turcotte.

Don't create .prl files for intermediate libs as their contents get
injected within -Wl,-whole-archive -lFoo -wl,-no-whole-archive.

* qmake/mkspecs/features/default_post.prf:

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (141466 => 141467)


--- trunk/Tools/ChangeLog	2013-01-31 20:48:49 UTC (rev 141466)
+++ trunk/Tools/ChangeLog	2013-01-31 20:51:09 UTC (rev 141467)
@@ -1,3 +1,14 @@
+2013-01-31  Simon Hausmann  <[email protected]>
+
+        [Qt] Prospective build fix.
+
+        Reviewed by Jocelyn Turcotte.
+
+        Don't create .prl files for intermediate libs as their contents get
+        injected within -Wl,-whole-archive -lFoo -wl,-no-whole-archive.
+
+        * qmake/mkspecs/features/default_post.prf:
+
 2013-01-31  Alan Cutter  <[email protected]>
 
         EWS graphs have unusual data for patch waiting times

Modified: trunk/Tools/qmake/mkspecs/features/default_post.prf (141466 => 141467)


--- trunk/Tools/qmake/mkspecs/features/default_post.prf	2013-01-31 20:48:49 UTC (rev 141466)
+++ trunk/Tools/qmake/mkspecs/features/default_post.prf	2013-01-31 20:51:09 UTC (rev 141467)
@@ -15,6 +15,10 @@
 # dependent libraries when using frameworks on Mac.
 !production_build:!debug_and_release:!buildbot:!win*:!build?(webkit2): CONFIG += force_static_libs_as_shared
 
+# Don't create .prl files for intermediate libraries because their contents get used when linking against
+# them, breaking "-Wl,-whole-archive -lMyIntermediateLib --Wl,-no-whole-archive"
+staticlib: CONFIG -= create_prl
+
 root_project_file: finalizeConfigure()
 
 # Sanitize build config for single-configuration builds
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to