Преглед изворни кода

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 <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/15852
Signed-off-by: Robert Marko <[email protected]>
Rosen Penev пре 1 година
родитељ
комит
a787ebf716
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      tools/util-linux/Makefile

+ 1 - 0
tools/util-linux/Makefile

@@ -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 \