summaryrefslogtreecommitdiff
path: root/misc-utils/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'misc-utils/Makefile.am')
-rw-r--r--misc-utils/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/misc-utils/Makefile.am b/misc-utils/Makefile.am
index 8b1dbbe2..3f0843b2 100644
--- a/misc-utils/Makefile.am
+++ b/misc-utils/Makefile.am
@@ -50,6 +50,7 @@ wipefs_SOURCES = wipefs.c $(top_srcdir)/lib/strutils.c
wipefs_LDADD = $(ul_libblkid_la)
wipefs_CFLAGS = $(AM_CFLAGS) -I$(ul_libblkid_incdir)
+if LINUX
bin_PROGRAMS += lsblk
dist_man_MANS += lsblk.8
lsblk_SOURCES = lsblk.c \
@@ -59,6 +60,8 @@ lsblk_SOURCES = lsblk.c \
$(top_srcdir)/lib/strutils.c
lsblk_LDADD = $(ul_libblkid_la)
lsblk_CFLAGS = $(AM_CFLAGS) -I$(ul_libblkid_incdir)
+endif
+
if HAVE_STATIC_BLKID
sbin_PROGRAMS += blkid.static
blkid_static_SOURCES = $(blkid_SOURCES)