diff options
author | Jeffery To <jeffery.to@gmail.com> | 2023-05-23 19:12:27 +0800 |
---|---|---|
committer | Rosen Penev <rosenp@gmail.com> | 2023-05-24 06:04:33 +0300 |
commit | 44fb4927f11add18baa11617e67c8a697a3f528d (patch) | |
tree | 93757e5f5d704ae165ffd93894e8f3860ed58169 | |
parent | f006d0ea23f76a1846c93d0ec3b1ea60ba36d093 (diff) |
python3: Fix uuid module not compiled for host Python
This adds $(STAGING_DIR_HOST)/include/e2fsprogs to HOST_CFLAGS and
HOST_CPPFLAGS so that configure can find uuid/uuid.h.
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
-rw-r--r-- | lang/python/python3/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lang/python/python3/Makefile b/lang/python/python3/Makefile index e27457051..24e9a4a3a 100644 --- a/lang/python/python3/Makefile +++ b/lang/python/python3/Makefile @@ -11,7 +11,7 @@ include $(TOPDIR)/rules.mk include ../python3-version.mk PKG_NAME:=python3 -PKG_RELEASE:=8 +PKG_RELEASE:=9 PKG_VERSION:=$(PYTHON3_VERSION).$(PYTHON3_VERSION_MICRO) PKG_SOURCE:=Python-$(PKG_VERSION).tar.xz @@ -314,6 +314,13 @@ define Py3Package/python3/filespec -|$(PYTHON3_PKG_DIR) endef +# libuuid is provided by e2fsprogs and uuid/uuid.h is moved into +# $(STAGING_DIR_HOST)/include/e2fsprogs +HOST_CFLAGS += \ + -I$(STAGING_DIR_HOST)/include/e2fsprogs +HOST_CPPFLAGS += \ + -I$(STAGING_DIR_HOST)/include/e2fsprogs + HOST_LDFLAGS += \ -Wl$(comma)-rpath$(comma)$(STAGING_DIR_HOSTPKG)/lib |