summaryrefslogtreecommitdiffstats
path: root/library.mak
diff options
context:
space:
mode:
Diffstat (limited to 'library.mak')
-rw-r--r--library.mak4
1 files changed, 2 insertions, 2 deletions
diff --git a/library.mak b/library.mak
index b0d4151..362b76d 100644
--- a/library.mak
+++ b/library.mak
@@ -85,7 +85,7 @@ install-lib$(NAME)-headers: $(addprefix $(SUBDIR),$(HEADERS) $(BUILT_HEADERS))
$(Q)mkdir -p "$(INCINSTDIR)"
$$(INSTALL) -m 644 $$^ "$(INCINSTDIR)"
-install-lib$(NAME)-pkgconfig: $(SUBDIR)lib$(NAME).pc
+install-lib$(NAME)-pkgconfig: $(SUBDIR)lib$(NAME)${build_suffix}.pc
$(Q)mkdir -p "$(LIBDIR)/pkgconfig"
$$(INSTALL) -m 644 $$^ "$(LIBDIR)/pkgconfig"
@@ -99,7 +99,7 @@ uninstall-libs::
uninstall-headers::
$(RM) $(addprefix "$(INCINSTDIR)/",$(HEADERS) $(BUILT_HEADERS))
- $(RM) "$(LIBDIR)/pkgconfig/lib$(NAME).pc"
+ $(RM) "$(LIBDIR)/pkgconfig/lib$(NAME)${build_suffix}.pc"
-rmdir "$(INCINSTDIR)"
endef
OpenPOWER on IntegriCloud