micropython: Set MICROPY_GCREGS_SETJMP=1 for xtensa and sh
[buildroot-gz.git] / package / libhttpparser / 0001-Use-f-option-when-calling-ln-at-install-time.patch
blob29fe04defd182260c58afd4ee41846ae5ff77ac0
1 From d9dfeca8736318eaad5cd4554cbae059469decde 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 ---
10 Makefile | 4 ++--
11 1 file changed, 2 insertions(+), 2 deletions(-)
13 diff --git a/Makefile b/Makefile
14 index 373709c..6206b09 100644
15 --- a/Makefile
16 +++ b/Makefile
17 @@ -113,12 +113,12 @@ tags: http_parser.c http_parser.h test.c
18 install: library
19 $(INSTALL) -D http_parser.h $(INCLUDEDIR)/http_parser.h
20 $(INSTALL) -D $(SONAME) $(LIBDIR)/$(SONAME)
21 - ln -s $(LIBDIR)/$(SONAME) $(LIBDIR)/libhttp_parser.so
22 + ln -sf $(LIBDIR)/$(SONAME) $(LIBDIR)/libhttp_parser.so
24 install-strip: library
25 $(INSTALL) -D http_parser.h $(INCLUDEDIR)/http_parser.h
26 $(INSTALL) -D -s $(SONAME) $(LIBDIR)/$(SONAME)
27 - ln -s $(LIBDIR)/$(SONAME) $(LIBDIR)/libhttp_parser.so
28 + ln -sf $(LIBDIR)/$(SONAME) $(LIBDIR)/libhttp_parser.so
30 uninstall:
31 rm $(INCLUDEDIR)/http_parser.h
32 --
33 2.5.0