From 4f4f708542318294e328afe52d30704137ef96c1 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sat, 1 Aug 2020 13:59:57 -0700 Subject: python3: fix host compilation with clang Matched rpath parameter with Makefile. Signed-off-by: Rosen Penev (cherry-picked from commit b40c40151c2ac3dd11d908a0548ac97e6b5c8455) --- lang/python/python-host.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lang/python/python-host.mk') 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 -- cgit