Title: [226494] trunk/Source/WebKit
Revision
226494
Author
[email protected]
Date
2018-01-07 14:50:14 -0800 (Sun, 07 Jan 2018)

Log Message

[cmake] Unset CMAKE_REQUIRED_LIBRARIES after check_function_exists test
https://bugs.webkit.org/show_bug.cgi?id=181371

Reviewed by Michael Catanzaro.

This variable is used by check_function_exists internally, its value
should be never used for anything else.

* CMakeLists.txt:

Modified Paths

Diff

Modified: trunk/Source/WebKit/CMakeLists.txt (226493 => 226494)


--- trunk/Source/WebKit/CMakeLists.txt	2018-01-07 22:22:52 UTC (rev 226493)
+++ trunk/Source/WebKit/CMakeLists.txt	2018-01-07 22:50:14 UTC (rev 226494)
@@ -806,6 +806,7 @@
         if (SHM_OPEN_REQUIRES_LIBRT)
             list(APPEND WebKit_LIBRARIES rt)
         endif ()
+        unset(CMAKE_REQUIRED_LIBRARIES)
     endif ()
 endif ()
 

Modified: trunk/Source/WebKit/ChangeLog (226493 => 226494)


--- trunk/Source/WebKit/ChangeLog	2018-01-07 22:22:52 UTC (rev 226493)
+++ trunk/Source/WebKit/ChangeLog	2018-01-07 22:50:14 UTC (rev 226494)
@@ -1,3 +1,15 @@
+2018-01-07  Konstantin Tokarev  <[email protected]>
+
+        [cmake] Unset CMAKE_REQUIRED_LIBRARIES after check_function_exists test
+        https://bugs.webkit.org/show_bug.cgi?id=181371
+
+        Reviewed by Michael Catanzaro.
+
+        This variable is used by check_function_exists internally, its value
+        should be never used for anything else.
+
+        * CMakeLists.txt:
+
 2018-01-05  Dan Bernstein  <[email protected]>
 
         REGRESSION (r226218): iOS-only assets are installed on macOS
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to