lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

commit e359204a3d6d50766b72a3f4f488061d03921137
parent 603b7eedd4bb716404ee9abb8143e4e9fca09eb9
Author: Hannu Nyman <hannu.nyman@iki.fi>
Date:   Mon, 14 Mar 2016 22:21:44 +0200

Merge pull request #2489 from jefferyto/host-python-rpath

python: add rpath for host Python extension modules
Diffstat:
Mlang/python/files/python-host.mk | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lang/python/files/python-host.mk b/lang/python/files/python-host.mk @@ -44,7 +44,7 @@ define Build/Compile/HostPyMod LDSHARED="$(HOSTCC) -shared" \ CFLAGS="$(HOST_CFLAGS)" \ CPPFLAGS="$(HOST_CPPFLAGS) -I$(HOST_PYTHON_INC_DIR)" \ - LDFLAGS="$(HOST_LDFLAGS) -lpython$(PYTHON_VERSION)" \ + LDFLAGS="$(HOST_LDFLAGS) -lpython$(PYTHON_VERSION) -Wl$(comma)-rpath=$(STAGING_DIR)/host/lib" \ _PYTHON_HOST_PLATFORM=linux2 \ $(3) \ , \