Skip to content
This repository was archived by the owner on Nov 6, 2022. It is now read-only.

Commit 28f3c35

Browse files
ffontainebnoordhuis
authored andcommitted
Use -f option when calling ln at install time
This allows "make install; make install" to work properly. Retrieved from: https://git.buildroot.net/buildroot/tree/package/libhttpparser/0001-Use-f-option-when-calling-ln-at-install-time.patch PR-URL: #492 Reviewed-By: Ben Noordhuis <[email protected]> Signed-off-by: Fabrice Fontaine <[email protected]> Signed-off-by: Renaud AUBIN <[email protected]> Signed-off-by: Thomas Petazzoni <[email protected]>
1 parent 5c17dad commit 28f3c35

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,14 +133,14 @@ tags: http_parser.c http_parser.h test.c
133133
install: library
134134
$(INSTALL) -D http_parser.h $(DESTDIR)$(INCLUDEDIR)/http_parser.h
135135
$(INSTALL) -D $(LIBNAME) $(DESTDIR)$(LIBDIR)/$(LIBNAME)
136-
ln -s $(LIBNAME) $(DESTDIR)$(LIBDIR)/$(SONAME)
137-
ln -s $(LIBNAME) $(DESTDIR)$(LIBDIR)/$(SOLIBNAME).$(SOEXT)
136+
ln -sf $(LIBNAME) $(DESTDIR)$(LIBDIR)/$(SONAME)
137+
ln -sf $(LIBNAME) $(DESTDIR)$(LIBDIR)/$(SOLIBNAME).$(SOEXT)
138138

139139
install-strip: library
140140
$(INSTALL) -D http_parser.h $(DESTDIR)$(INCLUDEDIR)/http_parser.h
141141
$(INSTALL) -D -s $(LIBNAME) $(DESTDIR)$(LIBDIR)/$(LIBNAME)
142-
ln -s $(LIBNAME) $(DESTDIR)$(LIBDIR)/$(SONAME)
143-
ln -s $(LIBNAME) $(DESTDIR)$(LIBDIR)/$(SOLIBNAME).$(SOEXT)
142+
ln -sf $(LIBNAME) $(DESTDIR)$(LIBDIR)/$(SONAME)
143+
ln -sf $(LIBNAME) $(DESTDIR)$(LIBDIR)/$(SOLIBNAME).$(SOEXT)
144144

145145
uninstall:
146146
rm $(DESTDIR)$(INCLUDEDIR)/http_parser.h

0 commit comments

Comments
 (0)