Comment 2 for bug 273956

Revision history for this message
Jaromil (jaromil) wrote :

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_GetSlotThreadSafe(JSContext*, JSObject*, unsigned int)'

since that function is #ifdef enclosed by the aforementioned flag at compile time.