From cec3e164dcf496815986706a2a907c09a842dde2 Mon Sep 17 00:00:00 2001 From: Daniel Kenzelmann Date: Sat, 25 Sep 2021 17:12:32 +0200 Subject: dev-libs/pigpio: fix broken Makefile fix broken Makefile, missing linked lib Signed-off-by: Daniel Kenzelmann Closes: https://github.com/gentoo/gentoo/pull/22400 Closes: https://bugs.gentoo.org/811150 Signed-off-by: Joonas Niilola --- dev-libs/pigpio/files/pigpio-70-makefile.patch | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'dev-libs/pigpio') 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 -- cgit v1.2.3-65-gdbad