diff options
author | Rosen Penev <rosenp@gmail.com> | 2020-08-01 13:59:57 -0700 |
---|---|---|
committer | Rosen Penev <rosenp@gmail.com> | 2020-08-02 00:49:30 -0700 |
commit | b40c40151c2ac3dd11d908a0548ac97e6b5c8455 (patch) | |
tree | 2e4241e83d0dba56500576af3cf9574244373752 /lang | |
parent | e1c3ed67485111b1e4233ab84d5460763171516e (diff) |
python3: fix host compilation with clang
Matched rpath parameter with Makefile.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'lang')
-rw-r--r-- | lang/python/python3-host.mk | 2 | ||||
-rw-r--r-- | 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 567b56d59..80a1bb110 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 0dcad69c6..f5a08382f 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 |