From d5ad43bae56262369af45584b6b922b568fecb17 Mon Sep 17 00:00:00 2001 From: Jari Vetoniemi Date: Thu, 7 May 2020 14:47:42 +0900 Subject: [PATCH] make: use -soname, instead of -soname= --- GNUmakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GNUmakefile b/GNUmakefile index 3a917a6..d01319b 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -38,7 +38,7 @@ wayland: bemenu-renderer-wayland.so $(libs): private override full=$(addsuffix .$(VERSION), $@) $(libs): private override major=$(addsuffix .$(firstword $(subst ., ,$(VERSION))), $@) $(libs): %: VERSION .git/index - $(LINK.c) -shared -fPIC $(filter %.c %.a,$^) $(LDLIBS) -o $(full) -Wl,-soname=$(major) + $(LINK.c) -shared -fPIC $(filter %.c %.a,$^) $(LDLIBS) -o $(full) -Wl,-soname,$(major) ln -fs $(full) $(major) ln -fs $(full) $@