summaryrefslogtreecommitdiff
path: root/lib/sqfs/Makemodule.am
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqfs/Makemodule.am')
-rw-r--r--lib/sqfs/Makemodule.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/sqfs/Makemodule.am b/lib/sqfs/Makemodule.am
index dffca44..ad3b4de 100644
--- a/lib/sqfs/Makemodule.am
+++ b/lib/sqfs/Makemodule.am
@@ -45,8 +45,12 @@ if HAVE_PTHREAD
libsquashfs_la_SOURCES += lib/sqfs/data_writer/pthread.c
libsquashfs_la_CPPFLAGS += -DWITH_PTHREAD
else
+if WINDOWS
+libsquashfs_la_SOURCES += lib/sqfs/data_writer/windows.c
+else
libsquashfs_la_SOURCES += lib/sqfs/data_writer/serial.c
endif
+endif
if WITH_GZIP
libsquashfs_la_SOURCES += lib/sqfs/comp/gzip.c