GGL doesn't have static binary linkage to libmozjs.so and libxul.so. Instead, it opens libmozjs.so dynamically (at runtime), just like what firefox and other similar applications do.
So I'm wondering why apps like firefox can be in main, while GGL can't.
GGL doesn't have static binary linkage to libmozjs.so and libxul.so. Instead, it opens libmozjs.so dynamically (at runtime), just like what firefox and other similar applications do.
So I'm wondering why apps like firefox can be in main, while GGL can't.