FAILED: : && /usr/local/opt/ccache/libexec/c++ -std=c++11 -fcolor-diagnostics -Qunused-arguments -O3 -DNDEBUG -fno-exceptions -fno-strict-aliasing -fno-rtti -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -bundle -Wl,-headerpad_max_install_names -L/Users/philn/dev/WebKit/WebKitBuild/DependenciesGTK/Root/lib -L/usr/local/lib -L/usr/local/Cellar/openssl/1.0.2c/lib/ -L/usr/local/Cellar/gettext/0.19.6/lib/ -o lib/WebKit2GtkAPITests/libWebExtensionTest.so Tools/TestWebKitAPI/Tests/WebKit2Gtk/CMakeFiles/WebExtensionTest.dir/WebExtensionTest.cpp.o && : Undefined symbols for architecture x86_64: "_JSContextGetGlobalObject", referenced from: windowObjectCleared(_WebKitScriptWorld*, _WebKitWebPage*, _WebKitFrame*, void*) in WebExtensionTest.cpp.o "_JSEvaluateScript", referenced from: methodCallCallback(_GDBusConnection*, char const*, char const*, char const*, char const*, _GVariant*, _GDBusMethodInvocation*, void*) in WebExtensionTest.cpp.o "_JSObjectMakeFunctionWithCallback", referenced from: windowObjectCleared(_WebKitScriptWorld*, _WebKitWebPage*, _WebKitFrame*, void*) in WebExtensionTest.cpp.o "_JSObjectSetProperty", referenced from: windowObjectCleared(_WebKitScriptWorld*, _WebKitWebPage*, _WebKitFrame*, void*) in WebExtensionTest.cpp.o "_JSStringCreateWithUTF8CString", referenced from: windowObjectCleared(_WebKitScriptWorld*, _WebKitWebPage*, _WebKitFrame*, void*) in WebExtensionTest.cpp.o methodCallCallback(_GDBusConnection*, char const*, char const*, char const*, char const*, _GVariant*, _GDBusMethodInvocation*, void*) in WebExtensionTest.cpp.o "_JSStringRelease", referenced from: windowObjectCleared(_WebKitScriptWorld*, _WebKitWebPage*, _WebKitFrame*, void*) in WebExtensionTest.cpp.o echoCallback(OpaqueJSContext const*, OpaqueJSValue*, OpaqueJSValue*, unsigned long, OpaqueJSValue const* const*, OpaqueJSValue const**) in WebExtensionTest.cpp.o methodCallCallback(_GDBusConnection*, char const*, char const*, char const*, char const*, _GVariant*, _GDBusMethodInvocation*, void*) in WebExtensionTest.cpp.o "_JSValueMakeString", referenced from: echoCallback(OpaqueJSContext const*, OpaqueJSValue*, OpaqueJSValue*, unsigned long, OpaqueJSValue const* const*, OpaqueJSValue const**) in WebExtensionTest.cpp.o "_JSValueMakeUndefined", referenced from: echoCallback(OpaqueJSContext const*, OpaqueJSValue*, OpaqueJSValue*, unsigned long, OpaqueJSValue const* const*, OpaqueJSValue const**) in WebExtensionTest.cpp.o "_JSValueToStringCopy", referenced from: ...
Created attachment 264585 [details] Patch
A review would be much appreciated, thanks in advance :)
Committed r193617: <http://trac.webkit.org/changeset/193617>