Browse Source

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

python: add rpath for host Python extension modules
lilik-openwrt-22.03
Hannu Nyman 9 years ago
parent
commit
e359204a3d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lang/python/files/python-host.mk

+ 1
- 1
lang/python/files/python-host.mk View File

@ -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…
Cancel
Save