From: Vincent Torri Date: Wed, 21 Nov 2018 07:40:51 +0000 (+0100) Subject: Add explanation for the installation of the DLL in the bin directory X-Git-Tag: upstream/1.9.3~5^2~23^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8e8b658bde8aa8d5f6c162d53193b4422554444c;p=platform%2Fupstream%2Flz4.git Add explanation for the installation of the DLL in the bin directory --- 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)