On 4/19/10 5:24 PM, n179911 wrote:

If browser/gtk/tests uses browser/gtk/src by linking to libxul.so
(since you mentioned it is built to a static library as a part of
libxul.so), I don't understand why this does not link:

The tests use standalone linkage. They do not link directly to libxul.so, but instead find it dynamically at runtime, load it using dlopen, and load the necessary imports.

This is why gtkmozembed_glue.cpp exists: to provide stub functions so that the dynamic loading works correctly.

--BS
_______________________________________________
dev-embedding mailing list
dev-embedding@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to