[OE-core] [PATCH] pseudo: fix link with new sqlite3

Jens Rehsack rehsack at gmail.com
Thu Nov 8 16:20:13 UTC 2018



> Am 08.11.2018 um 16:43 schrieb Burton, Ross <ross.burton at intel.com>:
> 
> On Thu, 8 Nov 2018 at 14:53, Jens Rehsack <rehsack at gmail.com> wrote:
> 
>> I digged a bit deeper (since I'd like to get a reasonable solution even for other dependent components) and would say, pseudo will also fail, when sqlite3 is build using readline or libz.
>> The better option will be to let pseudo use the libs and link-flags from sqlite.pc
> 
> Yes for libz, but I'd assumed the readline dependency was solely in
> the binary not the library.
> 
> Annoyingly the fairly simple change to pseudo to make it use
> pkg-config for flags then failed to link statically.  If you want to
> see what I did and fancy fixing it, then my WIP is in the pkgconfig
> branch at https://gitlab.com/rossburton/pseudo.


That looks even better then my patch (I send it for review), which results in
> DB_LDFLAGS=$(SQLITE)/$(SQLITE_LIB)/libsqlite3.a -lz -lm -ldl -lpthread -lpthread
for pseudo to link ...

I'm a bit confused wrt. the requirement of static linking anyway ... but let's assume it's necessary and not dig into that :D

Cheers
--
Jens Rehsack - rehsack at gmail.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20181108/1b6ad644/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20181108/1b6ad644/attachment.sig>


More information about the Openembedded-core mailing list