1
0
mirror of https://github.com/Cloudef/bemenu synced 2024-11-23 01:12:01 +01:00

add soname to shared libraries

Found in Gentoo QA

* QA Notice: The following shared libraries lack a SONAME
* /usr/lib/libbemenu.so.0.4.0

Signed-off-by: Matthew Thode <mthode@mthode.org>
This commit is contained in:
Matthew Thode 2020-03-15 14:00:14 -05:00 committed by Jari Vetoniemi
parent 1873f7460f
commit f888a0306f

@ -36,7 +36,7 @@ wayland: bemenu-renderer-wayland.so
$(LINK.c) -c $(filter %.c,$^) $(LDLIBS) -o $@
$(libs): %: VERSION .git/index
$(LINK.c) -shared -fPIC $(filter %.c %.a,$^) $(LDLIBS) -o $(addsuffix .$(VERSION), $@)
$(LINK.c) -shared -fPIC $(filter %.c %.a,$^) $(LDLIBS) -o $(addsuffix .$(VERSION), $@) -Wl,-soname
ln -fs $(addsuffix .$(VERSION), $@) $(addsuffix .$(firstword $(subst ., ,$(VERSION))), $@)
ln -fs $(addsuffix .$(VERSION), $@) $@