[GTK] Fails to link libwebkit2gtkinjectedbundle.so on OSX
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 6 Nov 2015 09:48:45 +0000 (09:48 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 6 Nov 2015 09:48:45 +0000 (09:48 +0000)
https://bugs.webkit.org/show_bug.cgi?id=144785

Patch by Philip Chimento <philip.chimento@gmail.com> on 2015-11-06
Reviewed by Philippe Normand.

* PlatformGTK.cmake: Add missing WebKit2 library to list of
libraries to link with. Required for OSX build.

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

Source/WebKit2/ChangeLog
Source/WebKit2/PlatformGTK.cmake

index c6691b3..fb4d708 100644 (file)
@@ -1,3 +1,13 @@
+2015-11-06  Philip Chimento  <philip.chimento@gmail.com>
+
+        [GTK] Fails to link libwebkit2gtkinjectedbundle.so on OSX
+        https://bugs.webkit.org/show_bug.cgi?id=144785
+
+        Reviewed by Philippe Normand.
+
+        * PlatformGTK.cmake: Add missing WebKit2 library to list of
+        libraries to link with. Required for OSX build.
+
 2015-11-05  Nikos Andronikos  <nikos.andronikos-webkit@cisra.canon.com.au>
 
         Add runtime and compile time flags for enabling Web Animations API and model.
index d5f5ec9..c4081fb 100644 (file)
@@ -871,6 +871,7 @@ include_directories(
 add_library(webkit2gtkinjectedbundle MODULE "${WEBKIT2_DIR}/WebProcess/gtk/WebGtkInjectedBundleMain.cpp")
 add_dependencies(webkit2gtkinjectedbundle GObjectDOMBindings)
 add_webkit2_prefix_header(webkit2gtkinjectedbundle)
+target_link_libraries(webkit2gtkinjectedbundle WebKit2)
 
 # Add ${CMAKE_LIBRARY_OUTPUT_DIRECTORY} to LD_LIBRARY_PATH
 string(COMPARE EQUAL "$ENV{LD_LIBRARY_PATH}" "" ld_library_path_not_exist)