summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authordir <dir@ableton.com>2017-12-06 17:19:06 (GMT)
committerdir <dir@ableton.com>2018-08-13 15:54:03 (GMT)
commitf8f1be180b4c868f385de586304296bfb5e50587 (patch)
tree4ebc6571109af88dbba3ebd900fa4ace44f914ed /package
parent685114a29b20e073483f395421290b685a4c5899 (diff)
Build util-linux without uuid-lib on macOS
@upstream
Diffstat (limited to 'package')
-rw-r--r--package/util-linux/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/util-linux/Makefile b/package/util-linux/Makefile
index f95599f..86e84ec 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