mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
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>
This commit is contained in:
@@ -268,7 +268,7 @@ define PyPackage/python/filespec
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
HOST_LDFLAGS += \
|
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)
|
ifeq ($(HOST_OS),Linux)
|
||||||
HOST_LDFLAGS += \
|
HOST_LDFLAGS += \
|
||||||
|
|||||||
Reference in New Issue
Block a user