aboutsummaryrefslogtreecommitdiff
path: root/src/libstore
diff options
context:
space:
mode:
authorPiotr Szubiakowski <pszubiak@eso.org>2021-08-13 21:07:31 +0000
committerPiotr Szubiakowski <pszubiak@eso.org>2021-08-13 21:08:58 +0000
commit9f13cb31e82c0c2872eabe02d25c797fefc42f55 (patch)
tree01f79d0576f3cc157810967445b400c68530233c /src/libstore
parentd581129ef9ef5d7d65e676f6a7bfe36c82f6ea6e (diff)
Install pkg-config files in the correct location
Use `$(libdir)` while installing .pc files looks like a more generic solution. For example, it will work for distributions like RHEL or Fedora where .pc files are installed in `/usr/lib64/pkgconfig`.
Diffstat (limited to 'src/libstore')
-rw-r--r--src/libstore/local.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/local.mk b/src/libstore/local.mk
index 44316f542..b87cee8d5 100644
--- a/src/libstore/local.mk
+++ b/src/libstore/local.mk
@@ -60,7 +60,7 @@ $(d)/build.cc:
clean-files += $(d)/schema.sql.gen.hh $(d)/ca-specific-schema.sql.gen.hh
-$(eval $(call install-file-in, $(d)/nix-store.pc, $(prefix)/lib/pkgconfig, 0644))
+$(eval $(call install-file-in, $(d)/nix-store.pc, $(libdir)/pkgconfig, 0644))
$(foreach i, $(wildcard src/libstore/builtins/*.hh), \
$(eval $(call install-file-in, $(i), $(includedir)/nix/builtins, 0644)))