mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-23 13:04:28 +00:00
8bf0782758
When the linker defaults to --as-needed, libmozgtk ends up not linked to libxul because libxul doesn't use anything from it. We solve the problem by adding a symbol to mozgtk and have libxul use it. In bug 1377445, we moved XShmQueryExtension to mozglue. While libxul currently doesn't use the symbol (it's a workaround for system libraries), we can move the function back to mozgtk and add a dummy call. Differential Revision: https://phabricator.services.mozilla.com/D113487