linamh/dev-libs/stfl/files/stfl-0.22-soname-symlink.patch
Mario Fetka 1f44a2d3b4 Bump
2023-04-06 11:47:15 +02:00

11 lines
444 B
Diff

--- stfl-0.22/Makefile.orig
+++ stfl-0.22/Makefile
@@ -65,6 +65,7 @@
install -m 644 stfl.pc $(DESTDIR)$(prefix)/$(libdir)/pkgconfig/
install -m 644 libstfl.so.$(VERSION) $(DESTDIR)$(prefix)/$(libdir)
ln -fs libstfl.so.$(VERSION) $(DESTDIR)$(prefix)/$(libdir)/libstfl.so
+ ln -fs libstfl.so.$(VERSION) $(DESTDIR)$(prefix)/$(libdir)/$(SONAME)
stfl.pc: stfl.pc.in
sed 's,@VERSION@,$(VERSION),g' < $< | sed 's,@PREFIX@,$(prefix),g' > $@