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 <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/15852
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
Rosen Penev 2024-07-01 16:48:45 -07:00 committed by Robert Marko
parent a7f37b401b
commit a787ebf716
1 changed files with 1 additions and 0 deletions

View File

@ -21,6 +21,7 @@ HOST_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/host-build.mk include $(INCLUDE_DIR)/host-build.mk
HOST_CONFIGURE_ARGS += \ HOST_CONFIGURE_ARGS += \
--with-pic \
--disable-shared \ --disable-shared \
--disable-all-programs \ --disable-all-programs \
--enable-hexdump \ --enable-hexdump \