From 8297b3faf8606762b176d57637f2ec5f84601e0d Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Sat, 4 Dec 2021 21:12:06 +0100 Subject: 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 --- tests/libsqfs/Makemodule.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/libsqfs/Makemodule.am') diff --git a/tests/libsqfs/Makemodule.am b/tests/libsqfs/Makemodule.am index 33567b0..514571d 100644 --- a/tests/libsqfs/Makemodule.am +++ b/tests/libsqfs/Makemodule.am @@ -1,11 +1,11 @@ test_abi_SOURCES = tests/libsqfs/abi.c tests/test.h -test_abi_LDADD = libsquashfs.la +test_abi_LDADD = libsquashfs.la libcompat.a test_table_SOURCES = tests/libsqfs/table.c tests/test.h -test_table_LDADD = libsquashfs.la +test_table_LDADD = libsquashfs.la libcompat.a test_xattr_writer_SOURCES = tests/libsqfs/xattr_writer.c tests/test.h -test_xattr_writer_LDADD = libsquashfs.la +test_xattr_writer_LDADD = libsquashfs.la libcompat.a xattr_benchmark_SOURCES = tests/libsqfs/xattr_benchmark.c xattr_benchmark_LDADD = libcommon.a libsquashfs.la libcompat.a -- cgit v1.2.3