diff options
author | Andrew Waterman <andrew@sifive.com> | 2020-09-22 14:02:59 -0700 |
---|---|---|
committer | Andrew Waterman <andrew@sifive.com> | 2020-09-22 14:03:37 -0700 |
commit | 4672cf245cfcea2723ed568f0f0b3baa50711213 (patch) | |
tree | 026ff1a7d4bee57bf5c1eacecb2fb5ff727819cf /Makefile.in | |
parent | 59d450e58646bdc0af5e9250df7d6267c3c791fc (diff) | |
download | spike-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.in | 2 |
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 |