From 37857a3f2fc8ee7dd9c06e89e044c98995588635 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sat, 1 Aug 2020 13:59:57 -0700 Subject: [PATCH] python3: fix host compilation with clang Matched rpath parameter with Makefile. Signed-off-by: Rosen Penev (cherry picked from commit b40c40151c2ac3dd11d908a0548ac97e6b5c8455) --- lang/python/python3-host.mk | 3 +-- lang/python/python3/Makefile | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/lang/python/python3-host.mk b/lang/python/python3-host.mk index 1b462b25c..0c16d6cc2 100644 --- a/lang/python/python3-host.mk +++ b/lang/python/python3-host.mk @@ -50,8 +50,7 @@ define host_python3_settings LDSHARED="$(HOSTCC) -shared" \ CFLAGS="$(HOST_CFLAGS)" \ CPPFLAGS="$(HOST_CPPFLAGS) -I$(HOST_PYTHON3_INC_DIR)" \ - LDFLAGS="$(HOST_LDFLAGS) -lpython$(PYTHON3_VERSION) -Wl$(comma)-rpath=$(STAGING_DIR_HOSTPKG)/lib" -endef + LDFLAGS="$(HOST_LDFLAGS) -lpython$(PYTHON3_VERSION) -Wl$(comma)-rpath$(comma)$(STAGING_DIR_HOSTPKG)/lib" \ # $(1) => commands to execute before running pythons script # $(2) => python script and its arguments diff --git a/lang/python/python3/Makefile b/lang/python/python3/Makefile index d9b66979f..12ac49fe1 100644 --- a/lang/python/python3/Makefile +++ b/lang/python/python3/Makefile @@ -14,7 +14,7 @@ PYTHON_VERSION:=$(PYTHON3_VERSION) PYTHON_VERSION_MICRO:=$(PYTHON3_VERSION_MICRO) PKG_NAME:=python3 -PKG_RELEASE:=3 +PKG_RELEASE:=4 PKG_VERSION:=$(PYTHON_VERSION).$(PYTHON_VERSION_MICRO) PKG_SOURCE:=Python-$(PKG_VERSION).tar.xz