]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
build-sys: test_linux_version is Linux only
authorKarel Zak <kzak@redhat.com>
Wed, 4 Jan 2017 14:44:51 +0000 (15:44 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 4 Jan 2017 14:44:51 +0000 (15:44 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
lib/Makemodule.am

index 4bc6d5f0291477584e5fd1c09ab4809da1c40006..209a51dc517e7750f11923e4609266143c5c30f8 100644 (file)
@@ -61,7 +61,6 @@ check_PROGRAMS += \
        test_colors \
        test_fileutils \
        test_ismounted \
-       test_linux_version \
        test_mangle \
        test_randutils \
        test_strutils \
@@ -124,6 +123,7 @@ test_sysfs_LDADD = $(LDADD) libcommon.la
 test_pager_SOURCES = lib/pager.c
 test_pager_CFLAGS = $(AM_CFLAGS) -DTEST_PROGRAM_PAGER
 
+check_PROGRAMS += test_linux_version
 test_linux_version_SOURCES = lib/linux_version.c
 test_linux_version_CFLAGS = $(AM_CFLAGS) -DTEST_PROGRAM_LINUXVERSION
 endif