summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2018-11-17 06:44:23 (GMT)
committerVincent Torri <vincent.torri@gmail.com>2018-11-17 06:44:23 (GMT)
commit31ce8b56e5da76887ad2670d4dfe621aff39b688 (patch)
tree7bfbac9c42a1b6c248b2a909943f1e35f7ecaaba /lib
parent6686e7597cdf28149a78dcde1efbd91e2323a495 (diff)
downloadlz4-31ce8b56e5da76887ad2670d4dfe621aff39b688.zip
lz4-31ce8b56e5da76887ad2670d4dfe621aff39b688.tar.gz
lz4-31ce8b56e5da76887ad2670d4dfe621aff39b688.tar.bz2
Use / instead of \ when accessing files in the dll subdirectory.
This allow cross-compilation for Windows on Linux
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile4
1 files 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