From 31ce8b56e5da76887ad2670d4dfe621aff39b688 Mon Sep 17 00:00:00 2001 From: Vincent Torri Date: Sat, 17 Nov 2018 07:44:23 +0100 Subject: Use / instead of \ when accessing files in the dll subdirectory. This allow cross-compilation for Windows on Linux --- lib/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Makefile b/lib/Makefile index d7c8cb4..f7bd439 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -103,8 +103,8 @@ $(LIBLZ4): $(SRCFILES) ifeq ($(BUILD_SHARED),yes) # can be disabled on command line @echo compiling dynamic library $(LIBVER) ifneq (,$(filter Windows%,$(OS))) - $(Q)$(CC) $(FLAGS) -DLZ4_DLL_EXPORT=1 -shared $^ -o dll\$@.dll - dlltool -D dll\liblz4.dll -d dll\liblz4.def -l dll\liblz4.lib + $(Q)$(CC) $(FLAGS) -DLZ4_DLL_EXPORT=1 -shared $^ -o dll/$@.dll + dlltool -D dll/liblz4.dll -d dll/liblz4.def -l dll/liblz4.lib else $(Q)$(CC) $(FLAGS) -shared $^ -fPIC -fvisibility=hidden $(SONAME_FLAGS) -o $@ @echo creating versioned links -- cgit v0.12