{"thread":{"id":"3734","subject":"[PATCH] Remove dependency on a file named \"-lz\"","startedAt":"2006-03-26T23:14:52Z","lastAt":"2006-03-26T23:14:52Z","messageCount":1,"participants":["Johannes Schindelin"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"18018","messageId":"Pine.LNX.4.63.0603270114200.17135@wbgn013.biozentrum.uni-wuerzburg.de","threadId":"3734","inReplyTo":null,"subject":"[PATCH] Remove dependency on a file named \"-lz\"","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2006-03-26T23:14:52Z","receivedAt":"2006-03-26T23:14:52Z","isPatch":true,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"\nBy changing the dependency \"$(LIB_H)\" to \"$(LIBS)\", at least one version\nof make thought that a file named \"-lz\" would be needed.\n\nSigned-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>\n\n---\n\n Makefile |    6 +++---\n 1 files changed, 3 insertions(+), 3 deletions(-)\n\n5a8333baa1845924348b958208bee59831d4e04e\ndiff --git a/Makefile b/Makefile\nindex a8cb0af..055d155 100644\n--- a/Makefile\n+++ b/Makefile\n@@ -214,8 +214,8 @@\n \tfetch-clone.o revision.o pager.o \\\n \t$(DIFF_OBJS)\n \n-LIBS = $(LIB_FILE) $(XDIFF_LIB)\n-LIBS += -lz\n+GITLIBS = $(LIB_FILE) $(XDIFF_LIB)\n+LIBS = $(GITLIBS) -lz\n \n #\n # Platform specific tweaks\n@@ -554,7 +554,7 @@\n \t\t-DDEFAULT_GIT_TEMPLATE_DIR='\"$(template_dir_SQ)\"' $*.c\n \n $(LIB_OBJS): $(LIB_H)\n-$(patsubst git-%$X,%.o,$(PROGRAMS)): $(LIBS)\n+$(patsubst git-%$X,%.o,$(PROGRAMS)): $(GITLIBS)\n $(DIFF_OBJS): diffcore.h\n \n $(LIB_FILE): $(LIB_OBJS)\n-- \n1.2.0.gd95e-dirty\n"}]}