From 7f72bae808529a42bf4655d5a0804186438f0d5f Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Wed, 25 Jun 2008 15:58:17 +0200 Subject: [PATCH] Makefiles: Allow a prefix and suffix of installed libraries to be specified. --- build/Makebottom | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/Makebottom b/build/Makebottom index 1a37a35b..19d1179d 100644 --- a/build/Makebottom +++ b/build/Makebottom @@ -55,13 +55,13 @@ $(o)/%.cf: $(s)/%.cf $(o)/config.mk $(s)/build/genconf $(Q)rm -f $@ $(Q)ar rcs $@ $^ ifdef CONFIG_INSTALL_API - $(Q)$(call symlink,$@,run/lib) + $(Q)$(call symlink-alias,$@,run/lib,$(*F)$(LIBNAME_INFIX).a) endif %.so: $(M)LD $@ $(Q)$(CC) $(LSHARED) $(LDFLAGS) -o $@ $^ - $(Q)$(call symlink,$@,run/lib) + $(Q)$(call symlink-alias,$@,run/lib,$(*F)$(SONAME_INFIX).so$(SONAME_SUFFIX)) $(o)/%.pc: $(s)/%.pc $(o)/%.$(LS) $(M)PC $< -- 2.39.2