python3: remove rpath from host python

Everything relevant to python is now built statically. No need for
rpath.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2024-06-29 12:06:24 -07:00
parent 8aac7a78a9
commit 434cdf4a75
2 changed files with 1 additions and 12 deletions

View File

@@ -284,17 +284,6 @@ endef
Py3Package/python3-light/install:=:
Package/python3/install:=:
# libuuid is provided by util-linux and pkgconfig does not work properly with
# tools. Add the necessary includes manually.
# $(STAGING_DIR_HOST)/include/uuid
HOST_CFLAGS += \
-I$(STAGING_DIR_HOST)/include/uuid
HOST_CPPFLAGS += \
-I$(STAGING_DIR_HOST)/include/uuid
HOST_LDFLAGS += \
-Wl$(comma)-rpath$(comma)$(STAGING_DIR_HOSTPKG)/lib
ifeq ($(HOST_OS),Linux)
HOST_LDFLAGS += \
-Wl,--no-as-needed -lrt