[Buildroot] [PATCH] package/android-tools: fix static build failure due to missing -latomic

Giulio Benetti giulio.benetti at micronovasrl.com
Mon Apr 8 07:43:53 UTC 2019

Il 08/04/2019 09:18, Thomas Petazzoni ha scritto:
> Hello Giulio,
> On Sun, 7 Apr 2019 23:55:38 +0200
> Giulio Benetti <giulio.benetti at micronovasrl.com> wrote:
>>>> -LIBS+= -lc -lpthread -lz -lcrypto -lcrypt `pkg-config --libs glib-2.0 gio-2.0`
>> In current version there is not glib-2.0 or gio-2.0, do I add them
>> anyway as follows?
> Wow, I got confused about this. pkg-config is used for glib-2.0 and
> gio-2.0 in the upstream android-tools code, but we remove that in our
> 0002-Fix-adbd-for-non-Ubuntu-systems.patch patch.
> So of course, don't re-add those pkg-config calls for glib-2.0 and gio-2.0.


> However, use pkg-config for OpenSSL. This will also allow you to drop
> patch 0005-fix-static-link-zlib.patch, which was needed for the same
> reason: pkg-config is not used to find OpenSSL.

Oh yes.
In this case, can I substitute "0005-fix-static-link-zlib.patch" with 
the new one I'm going to create? I mean "0005-...patch" ?


Giulio Benetti

Sede: Via A. Niedda 3 - 35010 Vigonza (PD)
Tel. 049/8931563 - Fax 049/8931346
Cod.Fiscale - P.IVA 02663420285
Capitale Sociale € 26.000 i.v.
Iscritta al Reg. Imprese di Padova N. 02663420285
Numero R.E.A. 258642

More information about the buildroot mailing list