diff options
| author | Hannu Nyman <hannu.nyman@iki.fi> | 2016-03-14 22:21:44 +0200 |
|---|---|---|
| committer | Hannu Nyman <hannu.nyman@iki.fi> | 2016-03-14 22:21:44 +0200 |
| commit | e359204a3d6d50766b72a3f4f488061d03921137 (patch) | |
| tree | 4b117193f6fc45652a5042b617b64da1e186938f /lang/python/files/python-host.mk | |
| parent | 603b7eedd4bb716404ee9abb8143e4e9fca09eb9 (diff) | |
| parent | 11d1b213c28f382bf3d737a05c5375b5f590c2b6 (diff) | |
Merge pull request #2489 from jefferyto/host-python-rpath
python: add rpath for host Python extension modules
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) \ , \ |
