mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-17 04:37:19 +00:00
fafc6d2942
do_configure generates autoconf.h by compiling and running a small lock-feature probe with the build-host compiler. The Makefile hardcodes the target networking libs (-lnet -lnsl, from the libnet/libnsl2 DEPENDS) into LDFLAGS, but those only exist in the target sysroot, so the native link fails with 'cannot find -lnet/-lnsl' The probe does not use them, so override LDFLAGS for this native step with just what it needs. Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>