lede-packages-rs

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

commit 11d1b213c28f382bf3d737a05c5375b5f590c2b6
parent e854a5541acb1f509944f024a821b81c22c8bd5b
Author: Jeffery To <jeffery.to@gmail.com>
Date:   Sun, 13 Mar 2016 00:50:12 +0800

python: add rpath for host Python extension modules

Signed-off-by: Jeffery To <jeffery.to@gmail.com>

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) \ , \