summaryrefslogtreecommitdiff
path: root/tests/libfstree/Makemodule.am
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-12-04 21:12:06 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2022-03-30 22:31:30 +0200
commitbb526954f24b2be5c574810a72395461cadd2d0c (patch)
tree297ed4b856dd47dae636e0ebd16671841ef810e4 /tests/libfstree/Makemodule.am
parentadc4ee5ad033485a558bd219120e5231e7f9008f (diff)
Fix: unit test and sample program Windows build
Now that there is a wrapper for main() on Windows, all executable programs must use a common, cannonical signature for main(). Furthermore, the Windows version of the epoch test needs wrappers for setenv/unsetenv. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/libfstree/Makemodule.am')
-rw-r--r--tests/libfstree/Makemodule.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/libfstree/Makemodule.am b/tests/libfstree/Makemodule.am
index c7ecdd5..594ef7e 100644
--- a/tests/libfstree/Makemodule.am
+++ b/tests/libfstree/Makemodule.am
@@ -60,6 +60,7 @@ test_filename_sane_w32_LDADD = libcompat.a
test_fstree_epoch_SOURCES = tests/libfstree/epoch.c
test_fstree_epoch_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/lib/fstree
test_fstree_epoch_SOURCES += lib/fstree/source_date_epoch.c
+test_fstree_epoch_LDADD = libcompat.a
test_sort_file_SOURCES = tests/libfstree/sort_file.c
test_sort_file_LDADD = libfstree.a libfstream.a libcompat.a