]> git.ipfire.org Git - thirdparty/freeswitch.git/commit
Fix mod_spidermonkey build on FreeBSD, (Undefined symbol
authorStefan Knoblich <s.knoblich@axsentis.de>
Tue, 3 Aug 2010 11:18:00 +0000 (13:18 +0200)
committerStefan Knoblich <s.knoblich@axsentis.de>
Tue, 3 Aug 2010 11:18:00 +0000 (13:18 +0200)
commit3edb841959f2f3abb019dd2cf23da0bb3b648f71
tree5e29f81ac64b77317ae8738f18a2917f9cf0697b
parentc1e5613e62a5910bc25d28ed5edfa0a142385098
Fix mod_spidermonkey build on FreeBSD, (Undefined symbol
PR_LocalTimeParameters).

Move nspr libs to AM_LIBADD to make sure they are _after_ libjs.so.1,
so missing PR_* symbols in libjs can be resolved.

Having all those nspr libs in AM_LDFLAGS will make them to end up before
libjs on the final linker commandline.

The wrong order caused the build-time linker to discard nspr,
since nothing had unresolved symbols belonging to it at that point.
(mod_spidermonkey does not use any PR_* functions/objects.)

Compile + load tested on FreeBSD-8.1.
src/mod/languages/mod_spidermonkey/Makefile.am