diff options
| author | Rosen Penev | 2024-07-01 23:48:45 +0000 |
|---|---|---|
| committer | Robert Marko | 2024-07-02 09:59:06 +0000 |
| commit | a787ebf7165c461be2a1c940198e9643f05f5d40 (patch) | |
| tree | e03b7e7ab152405bd8fe0821c017009dc4533ba8 | |
| parent | a7f37b401b9d80600dae74f0f26c6a3f52c1c803 (diff) | |
| download | openwrt-a787ebf7165c461be2a1c940198e9643f05f5d40.tar.gz | |
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>
| -rw-r--r-- | tools/util-linux/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
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 \ |