From: Rosen Penev Date: Mon, 1 Jul 2024 23:48:45 +0000 (-0700) Subject: tools/util-linux: build libuuid as PIC X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a787ebf7165c461be2a1c940198e9643f05f5d40;p=openwrt%2Fstaging%2Fthess.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 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 \