diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2017-02-19 20:15:49 -0500 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2017-03-23 08:26:58 -0400 |
commit | 1a63d1dcf383b338bbe11a79c3c634abacd43977 (patch) | |
tree | aa765a519d333862dbf533e9d482d1bcf982f9a1 /meta-networking/recipes-support/libmemcached/files/0001-configure.ac-Do-not-configure-build-aux.patch | |
parent | d63e5687c7bf6b054c6ed2fc4790e4970b023219 (diff) | |
download | meta-openembedded-1a63d1dcf383b338bbe11a79c3c634abacd43977.tar.gz |
netcat-openbsd: fix implicit dependency on pkg-config
In the report at http://errors.yoctoproject.org/Errors/Details/130673/
we see the following:
i586-oe-linux-gcc -m32 -march=i586 <snip> netcat.o atomicio.o socks.o `pkg-config --libs libbsd` -lresolv -o nc
/bin/sh: 1: pkg-config: not found
What follows is a bunch of link errors for BSD library functions, as
the backtick didn't return anything but an empty string and hence no
BSD library was involved in the link.
I was able to reproduce this by temporarily removing my host version
of pkg-config, and then validated that this fix solves it while still
having the host binary removed. So it should fix the reported issue.
I also confirmed pkg-config was in the sysroot after the change.
Cc: Khem Raj <raj.khem@gmail.com>
Cc: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-support/libmemcached/files/0001-configure.ac-Do-not-configure-build-aux.patch')
0 files changed, 0 insertions, 0 deletions