From f8f1be180b4c868f385de586304296bfb5e50587 Mon Sep 17 00:00:00 2001
From: dir
Date: Wed, 6 Dec 2017 18:19:06 +0100
Subject: Build util-linux without uuid-lib on macOS
@upstream
---
package/util-linux/Makefile | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
(limited to 'package/util-linux/Makefile')
diff --git a/package/util-linux/Makefile b/package/util-linux/Makefile
index f95599fcd..86e84ec31 100644
--- a/package/util-linux/Makefile
+++ b/package/util-linux/Makefile
@@ -108,11 +108,13 @@ endif
TARGET_CFLAGS+= -fPIC
FAKE_FLAGS+= INSTALLSUID="install -m 4755"
-HOST_CONFIGURE_ARGS+= --enable-libuuid \
- --enable-libblkid \
+HOST_CONFIGURE_ARGS+= --enable-libblkid \
--enable-libmount \
--disable-all-programs \
--disable-use-tty-group
+ifneq ($(OS_FOR_BUILD),Darwin)
+HOST_CONFIGURE_ARGS+= --enable-libuuid
+endif
fdisk-install:
$(INSTALL_DIR) $(IDIR_FDISK)/usr/sbin
--
cgit v1.2.3