1 From f45b38c42e7e92a5d0215c44dcf306616536011e Mon Sep 17 00:00:00 2001
2 From: hasufell <hasufell@hasufell.de>
3 Date: Mon, 2 Nov 2015 16:32:11 +0100
4 Subject: [PATCH 3/4] makefile: fix SONAME symlink, it should not be a full
7 The symlink destination being a full path doesn't give any benefit and
8 may break a few use cases of copying these files to a different
9 destination, while preserving the symlink.
12 1 file changed, 2 insertions(+), 2 deletions(-)
14 diff --git a/Makefile b/Makefile
15 index 8c4a9d7..cbe93e8 100644
18 @@ -125,12 +125,12 @@ tags: http_parser.c http_parser.h test.c
20 $(INSTALL) -D http_parser.h "$(DESTDIR)$(INCLUDEDIR)/http_parser.h"
21 $(INSTALL) -D $(SONAME) "$(DESTDIR)$(LIBDIR)/$(SONAME)"
22 - ln -s $(LIBDIR)/$(SONAME) "$(DESTDIR)$(LIBDIR)/libhttp_parser.$(SOEXT)"
23 + ln -s $(SONAME) "$(DESTDIR)$(LIBDIR)/libhttp_parser.$(SOEXT)"
25 install-strip: library
26 $(INSTALL) -D http_parser.h "$(DESTDIR)$(INCLUDEDIR)/http_parser.h"
27 $(INSTALL) -D -s $(SONAME) "$(DESTDIR)$(LIBDIR)/$(SONAME)"
28 - ln -s $(LIBDIR)/$(SONAME) "$(DESTDIR)$(LIBDIR)/libhttp_parser.$(SOEXT)"
29 + ln -s $(SONAME) "$(DESTDIR)$(LIBDIR)/libhttp_parser.$(SOEXT)"
32 rm "$(DESTDIR)$(INCLUDEDIR)/http_parser.h"