Skip to content
Commit 7b84c9ea authored by Nathan Rossi's avatar Nathan Rossi Committed by Steve Sakoman
Browse files

ncurses: Prevent LDFLAGS being emitted in .pc files



By default ncurses includes the values of LDFLAGS in its output
pkgconfig .pc files. This causes issues because OE includes options that
are specific to either the build host, or build configuration. These
options are not expected to be embedded in the pkgconfig output that is
installed.

Specifically this change resolves issues with uninative, where uninative
includes '-Wl,--dynamic-linker=' in LDFLAGS in order to force the
building and execution of native binaries against the dynamic linker
provided by uninative. This path is specific to TMPDIR at the time of
build, such that the installed files (and the associated sstate) have
this path. This prevents the sstate from being portable across build
directories/hosts.

Signed-off-by: default avatarNathan Rossi <nathan@nathanrossi.com>
Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ef960d14)
Signed-off-by: default avatarSteve Sakoman <steve@sakoman.com>
parent d095c3f8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment