Skip to content

Commit

Permalink
tools/util-linux: build libuuid as PIC
Browse files Browse the repository at this point in the history
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 <[email protected]>
Link: openwrt/openwrt#15852
Signed-off-by: Robert Marko <[email protected]>
  • Loading branch information
neheb authored and robimarko committed Jul 2, 2024
1 parent a7f37b4 commit a787ebf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/util-linux/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit a787ebf

Please sign in to comment.