[GTK][Mac] libWebExtensionTest link error
authorphiln@webkit.org <philn@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 7 Dec 2015 09:11:30 +0000 (09:11 +0000)
committerphiln@webkit.org <philn@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 7 Dec 2015 09:11:30 +0000 (09:11 +0000)
https://bugs.webkit.org/show_bug.cgi?id=150802

Reviewed by Carlos Garcia Campos.

* TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt: add dependencies to the webextension library.

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

Tools/ChangeLog
Tools/TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt

index 8084e42..ab20f1a 100644 (file)
@@ -1,3 +1,12 @@
+2015-12-07  Philippe Normand  <pnormand@igalia.com>
+
+        [GTK][Mac] libWebExtensionTest link error
+        https://bugs.webkit.org/show_bug.cgi?id=150802
+
+        Reviewed by Carlos Garcia Campos.
+
+        * TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt: add dependencies to the webextension library.
+
 2015-12-06  David Kilzer  <ddkilzer@apple.com>
 
         TestNetscapePlugIn: Fix leaks found by static analyzer
index ff2723f..ceae28e 100644 (file)
@@ -66,6 +66,11 @@ macro(ADD_WK2_TEST_WEB_EXTENSION extension_name)
     set_target_properties(${extension_name} PROPERTIES
         LIBRARY_OUTPUT_DIRECTORY ${TEST_LIBRARY_DIR}
     )
+    target_link_libraries(${extension_name}
+        JavaScriptCore
+        WebKit2
+        ${GLIB_LIBRARIES}
+    )
 endmacro()
 
 macro(ADD_WK2_TEST test_name)