summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kenzelmann <github.com@k8n.de>2021-09-25 17:12:32 +0200
committerJoonas Niilola <juippis@gentoo.org>2021-10-04 15:32:23 +0300
commitcec3e164dcf496815986706a2a907c09a842dde2 (patch)
tree9ce6d19f56b7960c1847fed0527c6b6ca9a8e262 /dev-libs
parentmedia-libs/svt-av1: sync live, EAPI 8 (diff)
downloadgentoo-cec3e164dcf496815986706a2a907c09a842dde2.tar.gz
gentoo-cec3e164dcf496815986706a2a907c09a842dde2.tar.bz2
gentoo-cec3e164dcf496815986706a2a907c09a842dde2.zip
dev-libs/pigpio: fix broken Makefile
fix broken Makefile, missing linked lib Signed-off-by: Daniel Kenzelmann <gentoo@k8n.de> Closes: https://github.com/gentoo/gentoo/pull/22400 Closes: https://bugs.gentoo.org/811150 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/pigpio/files/pigpio-70-makefile.patch7
1 files changed, 5 insertions, 2 deletions
diff --git a/dev-libs/pigpio/files/pigpio-70-makefile.patch b/dev-libs/pigpio/files/pigpio-70-makefile.patch
index 1102fa5b6253..ed3c22833946 100644
--- a/dev-libs/pigpio/files/pigpio-70-makefile.patch
+++ b/dev-libs/pigpio/files/pigpio-70-makefile.patch
@@ -92,7 +92,7 @@
uninstall:
rm -f $(DESTDIR)$(includedir)/pigpio.h
-@@ -136,22 +131,13 @@
+@@ -136,22 +131,16 @@
endif
$(LIB1): $(OBJ1)
@@ -101,6 +101,7 @@
- $(STRIPLIB) $(LIB1)
- $(SIZE) $(LIB1)
+ $(SHLIB) $(LDFLAGS) -Wl,-soname,$(LIB1).$(SOVERSION) -o $(LIB1).$(LIBVERSION) $(OBJ1)
++ ln -sf $(LIB1).$(LIBVERSION) $(LIB1)
$(LIB2): $(OBJ2)
- $(SHLIB) -pthread -Wl,-soname,$(LIB2).$(SOVERSION) -o $(LIB2).$(SOVERSION) $(OBJ2)
@@ -108,13 +109,15 @@
- $(STRIPLIB) $(LIB2)
- $(SIZE) $(LIB2)
+ $(SHLIB) $(LDFLAGS) -Wl,-soname,$(LIB2).$(SOVERSION) -o $(LIB2).$(LIBVERSION) $(OBJ2)
++ ln -sf $(LIB2).$(LIBVERSION) $(LIB2)
$(LIB3): $(OBJ3)
- $(SHLIB) -pthread -Wl,-soname,$(LIB3).$(SOVERSION) -o $(LIB3).$(SOVERSION) $(OBJ3)
- ln -fs $(LIB3).$(SOVERSION) $(LIB3)
- $(STRIPLIB) $(LIB3)
- $(SIZE) $(LIB3)
-+ $(SHLIB) $(LDFLAGS) -Wl,-soname,$(LIB2).$(SOVERSION) -o $(LIB3).$(LIBVERSION) $(OBJ3)
++ $(SHLIB) $(LDFLAGS) -Wl,-soname,$(LIB3).$(SOVERSION) -o $(LIB3).$(LIBVERSION) $(OBJ3)
++ ln -sf $(LIB3).$(LIBVERSION) $(LIB3)
# generated using gcc -MM *.c