diff options
| author | Jeffery To <jeffery.to@gmail.com> | 2016-03-13 00:50:12 +0800 |
|---|---|---|
| committer | Jeffery To <jeffery.to@gmail.com> | 2016-03-13 00:50:12 +0800 |
| commit | 11d1b213c28f382bf3d737a05c5375b5f590c2b6 (patch) | |
| tree | 941b01c42d9e1f8fc9b2a54fe5c9b078ae9df6fd /lang/python/files/python-host.mk | |
| parent | e854a5541acb1f509944f024a821b81c22c8bd5b (diff) | |
python: add rpath for host Python extension modules
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Diffstat (limited to 'lang/python/files/python-host.mk')
| -rw-r--r-- | lang/python/files/python-host.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/python/files/python-host.mk b/lang/python/files/python-host.mk index 0327f3ad2..8736d29ad 100644 --- 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) \ , \ |
