apps will fail to link libmozjs since the library is compiled without -DJS_THREADSAFE
and to the contrary the .pc file xulrunner-js adopts -DJS_THREADSAFE in the CFLAGS
this will generate such an error:
undefined reference to `js_GetSlotThreadSafe(JSContext*, JSObject*, unsigned int)'
since that function is #ifdef enclosed by the aforementioned flag at compile time.
not only the naming scheme is a problem.
apps will fail to link libmozjs since the library is compiled without -DJS_THREADSAFE
and to the contrary the .pc file xulrunner-js adopts -DJS_THREADSAFE in the CFLAGS
this will generate such an error:
undefined reference to `js_GetSlotThre adSafe( JSContext* , JSObject*, unsigned int)'
since that function is #ifdef enclosed by the aforementioned flag at compile time.