diff options
author | Khem Raj <raj.khem@gmail.com> | 2018-08-28 10:50:40 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-09-04 11:03:55 +0100 |
commit | 1a2d37aa37dee28582f3332ed7dac4a8dd53a996 (patch) | |
tree | c96a6164acdcda9801ddf687fb93cd0c05944c47 /meta/recipes-support | |
parent | 246a987eb56457a14c471ef5590189b44c245a03 (diff) | |
download | poky-1a2d37aa37dee28582f3332ed7dac4a8dd53a996.tar.gz |
gpgme: Inherit distutils3-base
its building a module therefore its important to provide correct cross
build environment, distutils3-base automatically inherits python3native
this is seen when using clang where it tried to link with gcc since the
environment falls back to builtin LDSHARED variable
(From OE-Core rev: 8bfb54edc6fafda2301aece91ec6b55905e2a418)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r-- | meta/recipes-support/gpgme/gpgme_1.11.1.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-support/gpgme/gpgme_1.11.1.bb b/meta/recipes-support/gpgme/gpgme_1.11.1.bb index 151fc03f55..ac9fccf133 100644 --- a/meta/recipes-support/gpgme/gpgme_1.11.1.bb +++ b/meta/recipes-support/gpgme/gpgme_1.11.1.bb | |||
@@ -48,8 +48,8 @@ LANGUAGES ?= "${DEFAULT_LANGUAGES}" | |||
48 | LANGUAGES .= "${@bb.utils.contains('PACKAGECONFIG', 'python2', ' python2', '', d)}" | 48 | LANGUAGES .= "${@bb.utils.contains('PACKAGECONFIG', 'python2', ' python2', '', d)}" |
49 | LANGUAGES .= "${@bb.utils.contains('PACKAGECONFIG', 'python3', ' python3', '', d)}" | 49 | LANGUAGES .= "${@bb.utils.contains('PACKAGECONFIG', 'python3', ' python3', '', d)}" |
50 | 50 | ||
51 | PYTHON_INHERIT = "${@bb.utils.contains('PACKAGECONFIG', 'python2', 'pythonnative', '', d)}" | 51 | PYTHON_INHERIT = "${@bb.utils.contains('PACKAGECONFIG', 'python2', ' distutils-base', '', d)}" |
52 | PYTHON_INHERIT .= "${@bb.utils.contains('PACKAGECONFIG', 'python3', 'python3native', '', d)}" | 52 | PYTHON_INHERIT .= "${@bb.utils.contains('PACKAGECONFIG', 'python3', ' distutils3-base', '', d)}" |
53 | 53 | ||
54 | EXTRA_OECONF += '--enable-languages="${LANGUAGES}" \ | 54 | EXTRA_OECONF += '--enable-languages="${LANGUAGES}" \ |
55 | --disable-gpgconf-test \ | 55 | --disable-gpgconf-test \ |