diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-11-30 13:35:24 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-12-03 08:09:53 -0800 |
commit | 3b7f98f52b58ec48bda9a6a64c0be507ccfb6463 (patch) | |
tree | a79e346e323de4114b63f3b9fb54c4353450200f /meta-networking/classes | |
parent | a1700e568b4c64ba33ebb5c9f6f6694b5d8e25d2 (diff) | |
download | meta-openembedded-3b7f98f52b58ec48bda9a6a64c0be507ccfb6463.tar.gz |
waf-samba.bbclass: point PYTHON_CONFIG to target python3-config
Ensures that waf detects and uses it correctly
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/classes')
-rw-r--r-- | meta-networking/classes/waf-samba.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-networking/classes/waf-samba.bbclass b/meta-networking/classes/waf-samba.bbclass index 9c32952f6..41909788f 100644 --- a/meta-networking/classes/waf-samba.bbclass +++ b/meta-networking/classes/waf-samba.bbclass | |||
@@ -95,6 +95,7 @@ do_configure() { | |||
95 | export STAGING_LIBDIR=${STAGING_LIBDIR} | 95 | export STAGING_LIBDIR=${STAGING_LIBDIR} |
96 | export STAGING_INCDIR=${STAGING_INCDIR} | 96 | export STAGING_INCDIR=${STAGING_INCDIR} |
97 | export PYTHONPATH=${STAGING_DIR_HOST}${PYTHON_SITEPACKAGES_DIR} | 97 | export PYTHONPATH=${STAGING_DIR_HOST}${PYTHON_SITEPACKAGES_DIR} |
98 | export PYTHON_CONFIG=${STAGING_EXECPREFIXDIR}/python-target-config/python3-config | ||
98 | 99 | ||
99 | CONFIG_CMD="./configure ${CONFIGUREOPTS} ${EXTRA_OECONF} --cross-compile" | 100 | CONFIG_CMD="./configure ${CONFIGUREOPTS} ${EXTRA_OECONF} --cross-compile" |
100 | if [ "${CROSS_METHOD}" = "answer" ]; then | 101 | if [ "${CROSS_METHOD}" = "answer" ]; then |