build-sys: test_linux_version is Linux only
Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
parent
e33da967ef
commit
63dc575be3
|
@ -61,7 +61,6 @@ check_PROGRAMS += \
|
||||||
test_colors \
|
test_colors \
|
||||||
test_fileutils \
|
test_fileutils \
|
||||||
test_ismounted \
|
test_ismounted \
|
||||||
test_linux_version \
|
|
||||||
test_mangle \
|
test_mangle \
|
||||||
test_randutils \
|
test_randutils \
|
||||||
test_strutils \
|
test_strutils \
|
||||||
|
@ -124,6 +123,7 @@ test_sysfs_LDADD = $(LDADD) libcommon.la
|
||||||
test_pager_SOURCES = lib/pager.c
|
test_pager_SOURCES = lib/pager.c
|
||||||
test_pager_CFLAGS = $(AM_CFLAGS) -DTEST_PROGRAM_PAGER
|
test_pager_CFLAGS = $(AM_CFLAGS) -DTEST_PROGRAM_PAGER
|
||||||
|
|
||||||
|
check_PROGRAMS += test_linux_version
|
||||||
test_linux_version_SOURCES = lib/linux_version.c
|
test_linux_version_SOURCES = lib/linux_version.c
|
||||||
test_linux_version_CFLAGS = $(AM_CFLAGS) -DTEST_PROGRAM_LINUXVERSION
|
test_linux_version_CFLAGS = $(AM_CFLAGS) -DTEST_PROGRAM_LINUXVERSION
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue