summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/python/python3-native_3.5.2.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python3-native_3.5.2.bb b/meta/recipes-devtools/python/python3-native_3.5.2.bb
index 594f15c7c6..f32f05ccad 100644
--- a/meta/recipes-devtools/python/python3-native_3.5.2.bb
+++ b/meta/recipes-devtools/python/python3-native_3.5.2.bb
@@ -65,7 +65,8 @@ RPROVIDES += " \
65 python3-unittest-native \ 65 python3-unittest-native \
66" 66"
67 67
68EXTRA_OECONF_append = " --bindir=${bindir}/${PN} --without-ensurepip" 68# uninative may be used on pre glibc 2.25 systems which don't have getentropy
69EXTRA_OECONF_append = " --bindir=${bindir}/${PN} --without-ensurepip ac_cv_func_getentropy=no"
69 70
70EXTRA_OEMAKE = '\ 71EXTRA_OEMAKE = '\
71 LIBC="" \ 72 LIBC="" \
@@ -80,6 +81,7 @@ PYTHONLSBOPTS = ""
80 81
81do_configure_append() { 82do_configure_append() {
82 autoreconf --verbose --install --force --exclude=autopoint ../Python-${PV}/Modules/_ctypes/libffi 83 autoreconf --verbose --install --force --exclude=autopoint ../Python-${PV}/Modules/_ctypes/libffi
84 sed -i -e 's,#define HAVE_GETRANDOM 1,/\* #undef HAVE_GETRANDOM \*/,' ${B}/pyconfig.h
83} 85}
84 86
85do_install() { 87do_install() {