소스 검색

package: util-linux: Do not build lsfd if not needed

This actually works around a problem when building against uClibc which
does not seem to provide process_vm_readv syscall and thus compiling
lsfd fails.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Phil Sutter 1 년 전
부모
커밋
26ae6a77cb
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      package/util-linux/Makefile

+ 5 - 0
package/util-linux/Makefile

@@ -109,6 +109,11 @@ CONFIGURE_ARGS+=	--exec-prefix=/usr \
 			--enable-libuuid \
 			--enable-libblkid \
 			--enable-libmount
+ifneq (${ADK_PACKAGE_LSFD},)
+CONFIGURE_ARGS+=	--enable-lsfd
+else
+CONFIGURE_ARGS+=	--disable-lsfd
+endif
 
 TARGET_CFLAGS+=		-fPIC
 FAKE_FLAGS+=		INSTALLSUID="install -m 4755"