diff options
author | Ross Burton <ross.burton@intel.com> | 2019-10-17 12:29:42 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-10-23 16:30:35 +0100 |
commit | 4b467ed084b2fc125ad068d91606e72d1d9ebe36 (patch) | |
tree | 6f68b7243707b9cb4a99bdc55f0f970da7ff877c | |
parent | f7f4cfb51fada31b9cc67a983877829e8ed9d78f (diff) | |
download | poky-4b467ed084b2fc125ad068d91606e72d1d9ebe36.tar.gz |
python3: alternative name is python3-config not python-config
With python3-config using the 'python-config' name, it's possible for
python-config to point at python3-config, which is obviously wrong.
(From OE-Core rev: 80a4a44d4d9da1cacda5f50ea955017502829c6d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/python/python3_3.7.4.bb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-devtools/python/python3_3.7.4.bb b/meta/recipes-devtools/python/python3_3.7.4.bb index c8b63fee9d..01230b0fec 100644 --- a/meta/recipes-devtools/python/python3_3.7.4.bb +++ b/meta/recipes-devtools/python/python3_3.7.4.bb | |||
@@ -59,9 +59,9 @@ inherit autotools pkgconfig qemu ptest multilib_header update-alternatives | |||
59 | 59 | ||
60 | MULTILIB_SUFFIX = "${@d.getVar('base_libdir',1).split('/')[-1]}" | 60 | MULTILIB_SUFFIX = "${@d.getVar('base_libdir',1).split('/')[-1]}" |
61 | 61 | ||
62 | ALTERNATIVE_${PN}-dev = "python-config" | 62 | ALTERNATIVE_${PN}-dev = "python3-config" |
63 | ALTERNATIVE_LINK_NAME[python-config] = "${bindir}/python${PYTHON_BINABI}-config" | 63 | ALTERNATIVE_LINK_NAME[python3-config] = "${bindir}/python${PYTHON_BINABI}-config" |
64 | ALTERNATIVE_TARGET[python-config] = "${bindir}/python${PYTHON_BINABI}-config-${MULTILIB_SUFFIX}" | 64 | ALTERNATIVE_TARGET[python3-config] = "${bindir}/python${PYTHON_BINABI}-config-${MULTILIB_SUFFIX}" |
65 | 65 | ||
66 | 66 | ||
67 | DEPENDS = "bzip2-replacement-native libffi bzip2 openssl sqlite3 zlib virtual/libintl xz virtual/crypt util-linux libtirpc libnsl2" | 67 | DEPENDS = "bzip2-replacement-native libffi bzip2 openssl sqlite3 zlib virtual/libintl xz virtual/crypt util-linux libtirpc libnsl2" |