board/csky: fixup gdb instructions in readme.txt
[buildroot-gz.git] / package / libhttpparser / 0001-Use-f-option-when-calling-ln-at-install-time.patch
blobdf166565f9b135ac7da852b6b7a13c082a743c68
1 From 384917321c45e492b0ca7aaa94d4b15324aef95d Mon Sep 17 00:00:00 2001
2 From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3 Date: Fri, 28 Aug 2015 19:02:11 +0200
4 Subject: [PATCH] Use -f option when calling ln at install time
6 This allows "make install; make install" to work properly.
8 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 Signed-off-by: Renaud AUBIN <root@renaud.io>
10 ---
11 Makefile | 4 ++--
12 1 file changed, 2 insertions(+), 2 deletions(-)
14 diff --git a/Makefile b/Makefile
15 index 33c8ba0..b36d95a 100644
16 --- a/Makefile
17 +++ b/Makefile
18 @@ -125,12 +125,12 @@ tags: http_parser.c http_parser.h test.c
19 install: library
20 $(INSTALL) -D http_parser.h $(INCLUDEDIR)/http_parser.h
21 $(INSTALL) -D $(SONAME) $(LIBDIR)/$(SONAME)
22 - ln -s $(LIBDIR)/$(SONAME) $(LIBDIR)/libhttp_parser.$(SOEXT)
23 + ln -sf $(LIBDIR)/$(SONAME) $(LIBDIR)/libhttp_parser.$(SOEXT)
25 install-strip: library
26 $(INSTALL) -D http_parser.h $(INCLUDEDIR)/http_parser.h
27 $(INSTALL) -D -s $(SONAME) $(LIBDIR)/$(SONAME)
28 - ln -s $(LIBDIR)/$(SONAME) $(LIBDIR)/libhttp_parser.$(SOEXT)
29 + ln -sf $(LIBDIR)/$(SONAME) $(LIBDIR)/libhttp_parser.$(SOEXT)
31 uninstall:
32 rm $(INCLUDEDIR)/http_parser.h
33 --
34 2.6.2