Avoid encoding build-specific paths in the resulting binaries.
Signed-off-by: Jacob Kroon <[email protected]>
---
meta/recipes-core/ncurses/ncurses.inc | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta/recipes-core/ncurses/ncurses.inc
b/meta/recipes-core/ncurses/ncurses.inc
index a0ecd8a80b..3c15498dd4 100644
--- a/meta/recipes-core/ncurses/ncurses.inc
+++ b/meta/recipes-core/ncurses/ncurses.inc
@@ -91,10 +91,14 @@ ncurses_configure() {
--with-manpage-format=normal \
--without-manpage-renames \
--disable-stripping \
+ ${EXTRA_CLASS_FLAGS} \
"$@" || return 1
cd ..
}
+EXTRA_CLASS_FLAGS = ""
+EXTRA_CLASS_FLAGS:class-native = "--datadir=/non/existent
--with-terminfo-dirs=/non/existent"
+
# Override the function from the autotools class; ncurses requires a
# patched autoconf213 to generate the configure script. This autoconf
# is not available so that the shipped script will be used.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158873):
https://lists.openembedded.org/g/openembedded-core/message/158873
Mute This Topic: https://lists.openembedded.org/mt/87352801/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-