diff options
| author | Rosen Penev <rosenp@gmail.com> | 2020-08-01 13:59:57 -0700 |
|---|---|---|
| committer | Rosen Penev <rosenp@gmail.com> | 2020-08-15 15:21:32 -0700 |
| commit | 37857a3f2fc8ee7dd9c06e89e044c98995588635 (patch) | |
| tree | 53f3c7206aa87806fd3ee4d8d3e1e576fea3c7b2 /lang/python | |
| parent | 457bed5287990ecc3ab8d0343d13aa0c0065f82f (diff) | |
python3: fix host compilation with clang
Matched rpath parameter with Makefile.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit b40c40151c2ac3dd11d908a0548ac97e6b5c8455)
Diffstat (limited to 'lang/python')
| -rw-r--r-- | lang/python/python3-host.mk | 3 | ||||
| -rw-r--r-- | 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 |
