summaryrefslogtreecommitdiff
path: root/lang/python/python-host.mk
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2020-08-01 13:59:57 -0700
committerRosen Penev <rosenp@gmail.com>2020-12-07 15:50:44 -0800
commit4f4f708542318294e328afe52d30704137ef96c1 (patch)
tree7ccb29393268386055b700ffbb4c6499eaae715c /lang/python/python-host.mk
parent0d2bc5ae53916b41fa9a566dfda32fabb7f8a0d4 (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/python-host.mk')
-rw-r--r--lang/python/python-host.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/python/python-host.mk b/lang/python/python-host.mk
index eb58c557e..105dcafd3 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