From a787ebf7165c461be2a1c940198e9643f05f5d40 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Mon, 1 Jul 2024 16:48:45 -0700 Subject: [PATCH] tools/util-linux: build libuuid as PIC Needed to fix users of libuuid.a as autoconf applies PIC to only shared libraries by default. Found when trying to build python3/host. Signed-off-by: Rosen Penev Link: https://github.com/openwrt/openwrt/pull/15852 Signed-off-by: Robert Marko --- tools/util-linux/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/util-linux/Makefile b/tools/util-linux/Makefile index a3a6c2be41..b4cc45efc8 100644 --- a/tools/util-linux/Makefile +++ b/tools/util-linux/Makefile @@ -21,6 +21,7 @@ HOST_BUILD_PARALLEL:=1 include $(INCLUDE_DIR)/host-build.mk HOST_CONFIGURE_ARGS += \ + --with-pic \ --disable-shared \ --disable-all-programs \ --enable-hexdump \ -- 2.30.2