Skip to content

Commit 0ec9bba

Browse files
committed
misc-utils: build test_uuidd only if BUILD_UUIDD
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
1 parent 0024583 commit 0ec9bba

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

misc-utils/Makemodule.am

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,11 @@ systemdsystemunit_DATA += \
9898
misc-utils/uuidd.service \
9999
misc-utils/uuidd.socket
100100
endif
101+
102+
check_PROGRAMS += test_uuidd
103+
test_uuidd_SOURCES = misc-utils/test_uuidd.c
104+
test_uuidd_LDADD = $(LDADD) libcommon.la libuuid.la -lpthread
105+
test_uuidd_CFLAGS = $(AM_CFLAGS) -I$(ul_libuuid_incdir)
101106
endif # BUILD_UUIDD
102107

103108
PATHFILES += \

tests/helpers/Makemodule.am

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,3 @@ check_PROGRAMS += test_sigreceive
1515
test_sigreceive_SOURCES = tests/helpers/test_sigreceive.c
1616
test_sigreceive_LDADD = $(LDADD) libcommon.la
1717

18-
check_PROGRAMS += test_uuidd
19-
test_uuidd_SOURCES = tests/helpers/test_uuidd.c
20-
test_uuidd_LDADD = $(LDADD) libcommon.la libuuid.la -lpthread
21-
test_uuidd_CFLAGS = $(AM_CFLAGS) -I$(ul_libuuid_incdir)
22-

0 commit comments

Comments
 (0)