Hi everybody, I have successfully built (cross-compile) webkit-r59711 with --gtk (x11 default) on embedded platform. But now there are errors when i build it with --gtk --with-target=directfb. In that case, webkit will depends on libgdk-x11-2.0.so and libgdk-directfb-2.0.so, they depend respectively on libcairo( with xlib) and libcairo( with directfb). Because of the same name, error is that undefined reference of cairo_xlib_surface_create in libgdk-x11-2.0.so when linking libcairo( with directfb) or undefined reference of cairo_directfb_surface_create in libgdk-directfb-2.0.so when linking libcairo( with xlib). I don`t know why libgdk-x11-2.0.so is still dependency of webkit when building with --with-target=directfb? How do i resolve it? Thanks for any help. Best regards. Wen ming