summaryrefslogtreecommitdiffstats
path: root/tests/Makefile
diff options
context:
space:
mode:
authorPrzemyslaw Skibinski <inikep@gmail.com>2016-11-09 15:07:28 (GMT)
committerPrzemyslaw Skibinski <inikep@gmail.com>2016-11-09 15:07:28 (GMT)
commit773ae50b477e052146f64c23e3b95d3cbc07db18 (patch)
treed535094d9926b9e5f3493fd0a34c431933d09c62 /tests/Makefile
parentca80a7c8f77f5405cba5b8a52abb1dda78602bf7 (diff)
downloadlz4-773ae50b477e052146f64c23e3b95d3cbc07db18.zip
lz4-773ae50b477e052146f64c23e3b95d3cbc07db18.tar.gz
lz4-773ae50b477e052146f64c23e3b95d3cbc07db18.tar.bz2
DLL exports only functions defined in liblz4.def
Diffstat (limited to 'tests/Makefile')
-rw-r--r--tests/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Makefile b/tests/Makefile
index 586e8f6..6df6381 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -91,7 +91,7 @@ fullbench-lib: fullbench.c $(LZ4DIR)/xxhash.c
fullbench-dll: fullbench.c $(LZ4DIR)/xxhash.c
$(MAKE) -C $(LZ4DIR) liblz4
- $(CC) $(FLAGS) $^ -o $@$(EXT) $(LZ4DIR)/liblz4.dll.a
+ $(CC) $(FLAGS) $^ -o $@$(EXT) -DLZ4_DLL_IMPORT=1 $(LZ4DIR)/liblz4.dll.a
fuzzer : $(LZ4DIR)/lz4.o $(LZ4DIR)/lz4hc.o $(LZ4DIR)/xxhash.o fuzzer.c
$(CC) $(FLAGS) $^ -o $@$(EXT)