summaryrefslogtreecommitdiff
path: root/package/util-linux/Makefile
diff options
context:
space:
mode:
authordir <dir@ableton.com>2017-12-06 18:19:06 +0100
committerdir <dir@ableton.com>2018-08-13 17:54:03 +0200
commitf8f1be180b4c868f385de586304296bfb5e50587 (patch)
tree4ebc6571109af88dbba3ebd900fa4ace44f914ed /package/util-linux/Makefile
parent685114a29b20e073483f395421290b685a4c5899 (diff)
Build util-linux without uuid-lib on macOS
@upstream
Diffstat (limited to 'package/util-linux/Makefile')
-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 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