aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2020-09-22 14:02:59 -0700
committerAndrew Waterman <andrew@sifive.com>2020-09-22 14:03:37 -0700
commit4672cf245cfcea2723ed568f0f0b3baa50711213 (patch)
tree026ff1a7d4bee57bf5c1eacecb2fb5ff727819cf /Makefile.in
parent59d450e58646bdc0af5e9250df7d6267c3c791fc (diff)
downloadspike-4672cf245cfcea2723ed568f0f0b3baa50711213.zip
spike-4672cf245cfcea2723ed568f0f0b3baa50711213.tar.gz
spike-4672cf245cfcea2723ed568f0f0b3baa50711213.tar.bz2
Only install pkg-config files for libraries that are installed
Resolves #549
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 7f14602..e33aac2 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -339,7 +339,7 @@ install_hdrs += $$(addprefix $(src_dir)/$(1)/, $$($(2)_install_hdrs))
install_libs += $$(if $$($(2)_install_lib),lib$(1).a,)
install_libs += $$(if $$($(2)_install_shared_lib),lib$(1).so,)
install_exes += $$($(2)_install_prog_exes)
-install_pcs += riscv-$(1).pc
+install_pcs += $$(if $$($(2)_install_lib),riscv-$(1).pc,)
endef