summaryrefslogtreecommitdiffstats
path: root/programs
diff options
context:
space:
mode:
authorYann Collet <Cyan4973@users.noreply.github.com>2016-09-23 06:54:24 (GMT)
committerGitHub <noreply@github.com>2016-09-23 06:54:24 (GMT)
commitc5cb4aa52a3efa668cf7d8fd0d9678774b699d2e (patch)
tree7722ecbadb701567047be85af54f434ca4b1911a /programs
parent544abacedca5e203bd5acc28f59b4c56a6a9dbe2 (diff)
parent59771f41cdcb6be2a8fcb8a256b2511684baf956 (diff)
downloadlz4-c5cb4aa52a3efa668cf7d8fd0d9678774b699d2e.zip
lz4-c5cb4aa52a3efa668cf7d8fd0d9678774b699d2e.tar.gz
lz4-c5cb4aa52a3efa668cf7d8fd0d9678774b699d2e.tar.bz2
Merge pull request #238 from kou/add-lz4lib-api
Add LZ4LIB_API
Diffstat (limited to 'programs')
-rw-r--r--programs/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/programs/Makefile b/programs/Makefile
index 6ed7af0..6214084 100644
--- a/programs/Makefile
+++ b/programs/Makefile
@@ -43,7 +43,7 @@ LZ4DIR := ../lib
CFLAGS ?= -O3 # can select custom flags. For example : CFLAGS="-O2 -g" make
CFLAGS += -Wall -Wextra -Wundef -Wcast-qual -Wcast-align -Wshadow -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes
CFLAGS += $(MOREFLAGS)
-CPPFLAGS:= -I$(LZ4DIR) -DXXH_NAMESPACE=LZ4_
+CPPFLAGS:= -I$(LZ4DIR) -DXXH_NAMESPACE=LZ4_ -DLZ4_DLL_EXPORT=1
FLAGS := $(CFLAGS) $(CPPFLAGS) $(LDFLAGS)