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 committed 2024-07-12 13:10:49 -07:00
1 parent 8aac7a78a9
commit 434cdf4a75
2 files changed
+1 -12

No files matched your search

-11
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