[WPE] Built RPM of WPE webkit fails to install with "nothing provides libWPEToolingBa...
authoraperez@igalia.com <aperez@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 21 Sep 2018 11:42:42 +0000 (11:42 +0000)
committeraperez@igalia.com <aperez@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 21 Sep 2018 11:42:42 +0000 (11:42 +0000)
https://bugs.webkit.org/show_bug.cgi?id=189797

Reviewed by Žan Doberšek.

* wpe/backends/CMakeLists.txt: Make libWPEToolingBackends a static library to avoid
the need for installing it. This works fine because the library only contains utility
code intended to be reused from other various components (MiniBrowser, WebKitTestRunner).

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236309 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/ChangeLog
Tools/wpe/backends/CMakeLists.txt

index 748c18d..7381dac 100644 (file)
@@ -1,3 +1,14 @@
+2018-09-21  Adrian Perez de Castro  <aperez@igalia.com>
+
+        [WPE] Built RPM of WPE webkit fails to install with "nothing provides libWPEToolingBackends.so()"
+        https://bugs.webkit.org/show_bug.cgi?id=189797
+
+        Reviewed by Žan Doberšek.
+
+        * wpe/backends/CMakeLists.txt: Make libWPEToolingBackends a static library to avoid
+        the need for installing it. This works fine because the library only contains utility
+        code intended to be reused from other various components (MiniBrowser, WebKitTestRunner).
+
 2018-09-20  Daniel Bates  <dabates@apple.com>
 
         Move IOKitSPI.h from TestRunnerShared to PAL
index 439e8e3..f6a1708 100644 (file)
@@ -49,7 +49,7 @@ add_custom_command(
     COMMAND ${WAYLAND_SCANNER} client-header ${WAYLAND_PROTOCOLS_DATADIR}/unstable/xdg-shell/xdg-shell-unstable-v6.xml ${DERIVED_SOURCES_WPETOOLINGBACKENDS_DIR}/xdg-shell-unstable-v6-client-protocol.h
     VERBATIM)
 
-add_library(WPEToolingBackends ${WPEToolingBackends_SOURCES})
+add_library(WPEToolingBackends STATIC ${WPEToolingBackends_SOURCES})
 include_directories(${WPEToolingBackends_INCLUDE_DIRECTORIES})
 include_directories(SYSTEM ${WPEToolingBackends_SYSTEM_INCLUDE_DIRECTORIES})
 target_link_libraries(WPEToolingBackends ${WPEToolingBackends_LIBRARIES})