From 769d51fa933e3dc492193b12ad1c5dc01f30072f Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sat, 15 Aug 2020 15:23:21 -0700 Subject: [PATCH] python: fix host compilation with clang Matched rpath parameter with Makefile. Signed-off-by: Rosen Penev --- lang/python/python-host.mk | 2 +- lang/python/python/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lang/python/python-host.mk b/lang/python/python-host.mk index 44ecbbf8d6..1e3ff9594b 100644 --- a/lang/python/python-host.mk +++ b/lang/python/python-host.mk @@ -50,7 +50,7 @@ define host_python_settings LDSHARED="$(HOSTCC) -shared" \ CFLAGS="$(HOST_CFLAGS)" \ CPPFLAGS="$(HOST_CPPFLAGS) -I$(HOST_PYTHON_INC_DIR)" \ - LDFLAGS="$(HOST_LDFLAGS) -lpython$(PYTHON_VERSION) -Wl$(comma)-rpath=$(STAGING_DIR_HOSTPKG)/lib" \ + LDFLAGS="$(HOST_LDFLAGS) -lpython$(PYTHON_VERSION) -Wl$(comma)-rpath$(comma)$(STAGING_DIR_HOSTPKG)/lib" \ _PYTHON_HOST_PLATFORM=linux2 endef diff --git a/lang/python/python/Makefile b/lang/python/python/Makefile index 84463ad5ad..d9416e0938 100644 --- a/lang/python/python/Makefile +++ b/lang/python/python/Makefile @@ -12,7 +12,7 @@ include ../python-version.mk PKG_NAME:=python PKG_VERSION:=$(PYTHON_VERSION).$(PYTHON_VERSION_MICRO) -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=Python-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=https://www.python.org/ftp/python/$(PKG_VERSION) -- 2.30.2