[openwrt/openwrt] tools/util-linux: build libuuid as PIC
LEDE Commits
lede-commits at lists.infradead.org
Tue Jul 2 02:59:09 PDT 2024
robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/a787ebf7165c461be2a1c940198e9643f05f5d40
commit a787ebf7165c461be2a1c940198e9643f05f5d40
Author: Rosen Penev <rosenp at gmail.com>
AuthorDate: Mon Jul 1 16:48:45 2024 -0700
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 at gmail.com>
Link: https://github.com/openwrt/openwrt/pull/15852
Signed-off-by: Robert Marko <robimarko at gmail.com>
---
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 \
More information about the lede-commits
mailing list