From: Rosen Penev Date: Mon, 1 Jul 2024 23:48:45 +0000 (-0700) Subject: tools/util-linux: build libuuid as PIC X-Git-Tag: v24.10.0-rc1~1328 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F15852%2Fhead;p=thirdparty%2Fopenwrt.git 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 --- diff --git a/tools/util-linux/Makefile b/tools/util-linux/Makefile index a3a6c2be413..b4cc45efc8e 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 \