diff options
author | Peter Korsgaard <peter@korsgaard.com> | 2015-09-01 09:59:08 +0200 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2015-09-01 09:59:08 +0200 |
commit | cfc70a48027b1b56231df62a30a7da888f33e3ce (patch) | |
tree | cb2e856d51f1a79822a2b21d8c2cbaea55ae170d /package/libhttpparser/0001-Use-f-option-when-calling-ln-at-install-time.patch | |
parent | 70874e321dbd50203187c41214cb888507cd6df1 (diff) | |
parent | aa016797444017d4379a139e39697e38ed2e2357 (diff) | |
download | buildroot-cfc70a48027b1b56231df62a30a7da888f33e3ce.tar.gz buildroot-cfc70a48027b1b56231df62a30a7da888f33e3ce.zip |
Merge branch 'next'
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/libhttpparser/0001-Use-f-option-when-calling-ln-at-install-time.patch')
-rw-r--r-- | package/libhttpparser/0001-Use-f-option-when-calling-ln-at-install-time.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/package/libhttpparser/0001-Use-f-option-when-calling-ln-at-install-time.patch b/package/libhttpparser/0001-Use-f-option-when-calling-ln-at-install-time.patch new file mode 100644 index 0000000000..29fe04defd --- /dev/null +++ b/package/libhttpparser/0001-Use-f-option-when-calling-ln-at-install-time.patch @@ -0,0 +1,34 @@ +From d9dfeca8736318eaad5cd4554cbae059469decde Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> +Date: Fri, 28 Aug 2015 19:02:11 +0200 +Subject: [PATCH] Use -f option when calling ln at install time + +This allows "make install; make install" to work properly. + +Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> +--- + Makefile | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/Makefile b/Makefile +index 373709c..6206b09 100644 +--- a/Makefile ++++ b/Makefile +@@ -113,12 +113,12 @@ tags: http_parser.c http_parser.h test.c + install: library + $(INSTALL) -D http_parser.h $(INCLUDEDIR)/http_parser.h + $(INSTALL) -D $(SONAME) $(LIBDIR)/$(SONAME) +- ln -s $(LIBDIR)/$(SONAME) $(LIBDIR)/libhttp_parser.so ++ ln -sf $(LIBDIR)/$(SONAME) $(LIBDIR)/libhttp_parser.so + + install-strip: library + $(INSTALL) -D http_parser.h $(INCLUDEDIR)/http_parser.h + $(INSTALL) -D -s $(SONAME) $(LIBDIR)/$(SONAME) +- ln -s $(LIBDIR)/$(SONAME) $(LIBDIR)/libhttp_parser.so ++ ln -sf $(LIBDIR)/$(SONAME) $(LIBDIR)/libhttp_parser.so + + uninstall: + rm $(INCLUDEDIR)/http_parser.h +-- +2.5.0 + |