1 |
commit: cec3e164dcf496815986706a2a907c09a842dde2 |
2 |
Author: Daniel Kenzelmann <github.com <AT> k8n <DOT> de> |
3 |
AuthorDate: Sat Sep 25 15:12:32 2021 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 4 12:32:23 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cec3e164 |
7 |
|
8 |
dev-libs/pigpio: fix broken Makefile |
9 |
|
10 |
fix broken Makefile, missing linked lib |
11 |
|
12 |
Signed-off-by: Daniel Kenzelmann <gentoo <AT> k8n.de> |
13 |
Closes: https://github.com/gentoo/gentoo/pull/22400 |
14 |
Closes: https://bugs.gentoo.org/811150 |
15 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
16 |
|
17 |
dev-libs/pigpio/files/pigpio-70-makefile.patch | 7 +++++-- |
18 |
1 file changed, 5 insertions(+), 2 deletions(-) |
19 |
|
20 |
diff --git a/dev-libs/pigpio/files/pigpio-70-makefile.patch b/dev-libs/pigpio/files/pigpio-70-makefile.patch |
21 |
index 1102fa5b625..ed3c2283394 100644 |
22 |
--- a/dev-libs/pigpio/files/pigpio-70-makefile.patch |
23 |
+++ b/dev-libs/pigpio/files/pigpio-70-makefile.patch |
24 |
@@ -92,7 +92,7 @@ |
25 |
|
26 |
uninstall: |
27 |
rm -f $(DESTDIR)$(includedir)/pigpio.h |
28 |
-@@ -136,22 +131,13 @@ |
29 |
+@@ -136,22 +131,16 @@ |
30 |
endif |
31 |
|
32 |
$(LIB1): $(OBJ1) |
33 |
@@ -101,6 +101,7 @@ |
34 |
- $(STRIPLIB) $(LIB1) |
35 |
- $(SIZE) $(LIB1) |
36 |
+ $(SHLIB) $(LDFLAGS) -Wl,-soname,$(LIB1).$(SOVERSION) -o $(LIB1).$(LIBVERSION) $(OBJ1) |
37 |
++ ln -sf $(LIB1).$(LIBVERSION) $(LIB1) |
38 |
|
39 |
$(LIB2): $(OBJ2) |
40 |
- $(SHLIB) -pthread -Wl,-soname,$(LIB2).$(SOVERSION) -o $(LIB2).$(SOVERSION) $(OBJ2) |
41 |
@@ -108,13 +109,15 @@ |
42 |
- $(STRIPLIB) $(LIB2) |
43 |
- $(SIZE) $(LIB2) |
44 |
+ $(SHLIB) $(LDFLAGS) -Wl,-soname,$(LIB2).$(SOVERSION) -o $(LIB2).$(LIBVERSION) $(OBJ2) |
45 |
++ ln -sf $(LIB2).$(LIBVERSION) $(LIB2) |
46 |
|
47 |
$(LIB3): $(OBJ3) |
48 |
- $(SHLIB) -pthread -Wl,-soname,$(LIB3).$(SOVERSION) -o $(LIB3).$(SOVERSION) $(OBJ3) |
49 |
- ln -fs $(LIB3).$(SOVERSION) $(LIB3) |
50 |
- $(STRIPLIB) $(LIB3) |
51 |
- $(SIZE) $(LIB3) |
52 |
-+ $(SHLIB) $(LDFLAGS) -Wl,-soname,$(LIB2).$(SOVERSION) -o $(LIB3).$(LIBVERSION) $(OBJ3) |
53 |
++ $(SHLIB) $(LDFLAGS) -Wl,-soname,$(LIB3).$(SOVERSION) -o $(LIB3).$(LIBVERSION) $(OBJ3) |
54 |
++ ln -sf $(LIB3).$(LIBVERSION) $(LIB3) |
55 |
|
56 |
# generated using gcc -MM *.c |