diff options
author | Vincent Torri <vincent.torri@gmail.com> | 2018-11-21 07:40:51 (GMT) |
---|---|---|
committer | Vincent Torri <vincent.torri@gmail.com> | 2018-11-21 07:40:51 (GMT) |
commit | 8e8b658bde8aa8d5f6c162d53193b4422554444c (patch) | |
tree | fd1a931f9728dfedd76e39f763b3d657a2d0e033 | |
parent | 0314027051fd931ef4bd06591fdf30ea03a0de3d (diff) | |
download | lz4-8e8b658bde8aa8d5f6c162d53193b4422554444c.zip lz4-8e8b658bde8aa8d5f6c162d53193b4422554444c.tar.gz lz4-8e8b658bde8aa8d5f6c162d53193b4422554444c.tar.bz2 |
Add explanation for the installation of the DLL in the bin directory
-rw-r--r-- | lib/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Makefile b/lib/Makefile index fc96bbd..74ddd59 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -184,6 +184,9 @@ ifeq ($(BUILD_STATIC),yes) $(Q)$(INSTALL_DATA) lz4frame_static.h $(DESTDIR)$(includedir)/lz4frame_static.h endif ifeq ($(BUILD_SHARED),yes) +# Traditionnally, one installs the DLLs in the bin directory as programs +# search them first in their directory. This allows to not pollute system +# directories (like c:/windows/system32), nor modify the PATH variable. ifneq (,$(filter Windows%,$(OS))) $(Q)$(INSTALL_PROGRAM) dll/$(LIBLZ4).dll $(DESTDIR)$(bindir) $(Q)$(INSTALL_PROGRAM) dll/liblz4.lib $(DESTDIR)$(libdir) |