[Bug 47723] Add libffi to configure

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Mar 22 16:35:21 CET 2012


https://bugs.freedesktop.org/show_bug.cgi?id=47723

Simon McVittie <simon.mcvittie at collabora.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Status Whiteboard|                            |review-

--- Comment #2 from Simon McVittie <simon.mcvittie at collabora.co.uk> 2012-03-22 08:35:21 PDT ---
One way to avoid this problem globally would be for all of our /Android.mk to
do:

    ./configure [...] PKG_CONFIG="pkg-config --static"

which means that pkg-config will explicitly request the complete dependency
chain of every library:

    % pkg-config --libs gobject-2.0
    -pthread -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0  

    % pkg-config --static --libs gobject-2.0
    -pthread -lgobject-2.0 -lffi -lgthread-2.0 -lglib-2.0 -lrt

I'd prefer this approach, assuming it works: I think this is a considerably
better long-term solution than hard-coding random extra dependencies in all of
our packages.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list