python: add rpath for host Python extension modules
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
This commit is contained in:
parent
e854a5541a
commit
11d1b213c2
1 changed files with 1 additions and 1 deletions
|
@ -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) \
|
||||
, \
|
||||
|
|
Loading…
Reference in a new issue