Created attachment 500134 [details]
Spidermonkey will fail with undefined references if --as-needed is passed via LDFLAGS from the enviroment. Simply reorder the libs to resolve issue.
Created attachment 500135 [details] [diff] [review]
*** Bug 547715 has been marked as a duplicate of this bug. ***