Browse Source

Python: Fix compile of host modules

Add -rpath linker option to host build, pointing to staging/hostpkh/lib.
It's needed to find the correct host libs during runtime, without it the
hosts libs may be used instaead, causing failures.

Signed-off-by: Jan Kardell <jan.kardell@telliq.com>
lilik-openwrt-22.03
Jan Kardell 6 years ago
parent
commit
0311e58bb6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lang/python/python/Makefile

+ 1
- 1
lang/python/python/Makefile View File

@ -268,7 +268,7 @@ define PyPackage/python/filespec
endef
HOST_LDFLAGS += \
$$$$(pkg-config --static --libs libcrypto libssl)
$$$$(pkg-config --static --libs libcrypto libssl) -Wl$(comma)-rpath=$(STAGING_DIR_HOSTPKG)/lib
ifeq ($(HOST_OS),Linux)
HOST_LDFLAGS += \


Loading…
Cancel
Save