]> Pileus Git - ~andy/sunrise/blob - net-libs/http-parser/files/20120331-makefile.patch
net-libs/http-parser: New Ebuild for bug 410339 thanks to Tommy[D] chithead Enlik...
[~andy/sunrise] / net-libs / http-parser / files / 20120331-makefile.patch
1 From: Julian Ospald <julian.ospald@googlemail.com>
2 Date: Sat Mar 31 01:11:44 CEST 2012
3
4 fix "QA Notice: The following shared libraries lack a SONAME"
5 respect LDFLAGS
6
7 --- Makefile
8 +++ Makefile
9 @@ -44,7 +44,7 @@
10         $(CC) $(CPPFLAGS_FAST) $(CFLAGS_LIB) -c http_parser.c -o libhttp_parser.o
11  
12  library: libhttp_parser.o
13 -       $(CC) -shared -o libhttp_parser.so libhttp_parser.o
14 +       $(CC) $(LDFLAGS) -Wl,-soname,libhttp_parser.so -shared -o libhttp_parser.so libhttp_parser.o
15  
16  package: http_parser.o
17         $(AR) rcs libhttp_parser.a http_parser.o