From b40c40151c2ac3dd11d908a0548ac97e6b5c8455 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 --- lang/python/python3-host.mk | 2 +- lang/python/python3/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lang/python/python3-host.mk b/lang/python/python3-host.mk index 567b56d59a..80a1bb1109 100644 --- a/lang/python/python3-host.mk +++ b/lang/python/python3-host.mk @@ -31,7 +31,7 @@ HOST_PYTHON3_VARS = \ 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" \ + LDFLAGS="$(HOST_LDFLAGS) -lpython$(PYTHON3_VERSION) -Wl$(comma)-rpath$(comma)$(STAGING_DIR_HOSTPKG)/lib" \ PYTHONPATH="$(HOST_PYTHON3PATH)" \ PYTHONDONTWRITEBYTECODE=0 \ PYTHONOPTIMIZE="" diff --git a/lang/python/python3/Makefile b/lang/python/python3/Makefile index 0dcad69c61..f5a08382f0 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:=1 +PKG_RELEASE:=2 PKG_VERSION:=$(PYTHON3_VERSION).$(PYTHON3_VERSION_MICRO) PKG_SOURCE:=Python-$(PKG_VERSION).tar.xz -- 2.30.2