GNOME Bugzilla – Bug 684064
gjs-1.33.x fails to link with gold, needs explicit libffi dependency in PKG_CHECK_MODULES
Last modified: 2012-09-18 10:52:59 UTC
In >=gobject-introspection-1.33.2, libffi was moved from Requires to Requires.private. Since gjs directly uses ffi functions, a missing PKG_CHECK_MODULES for libffi results in build failure when using GNU gold as the linker: ./.libs/libgjs.so: error: undefined reference to 'ffi_call' collect2: error: ld returned 1 exit status make[1]: *** [gjs-console] Error 1
Created attachment 224382 [details] [review] proposed patch Trivial patch to configure.ac fixing the problem. OK to commit?
Review of attachment 224382 [details] [review]: Makes sense, thanks. Please do add a link to this bug in the commit message.
Committed: http://git.gnome.org/browse/gjs/commit/?id=4102c7e2a6c0eadd201ff0fbadce73075dffa5e9