aboutsummaryrefslogtreecommitdiff
path: root/src/libmain/local.mk
diff options
context:
space:
mode:
authoreldritch horrors <pennae@lix.systems>2024-03-04 06:12:19 +0100
committereldritch horrors <pennae@lix.systems>2024-03-04 07:11:25 +0100
commita089d8f5f6f96ea3f35790c36b6456e71f477879 (patch)
treeba290e853e076393ec9eaf1b075d294093c04cb0 /src/libmain/local.mk
parentc208e918e55c423203692343b56d893dc7435095 (diff)
Merge pull request #9465 from obsidiansystems/build-dir
Use `buildprefix` in a few more places (cherry picked from commit b6a3fde6b7a416929553e6be36fc991680ddf9ef) Change-Id: I2790663fa9f8242ac2db6582b7e421d2fdf42942
Diffstat (limited to 'src/libmain/local.mk')
-rw-r--r--src/libmain/local.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmain/local.mk b/src/libmain/local.mk
index 99da95e27..5c7061863 100644
--- a/src/libmain/local.mk
+++ b/src/libmain/local.mk
@@ -14,4 +14,4 @@ libmain_LIBS = libstore libutil
libmain_ALLOW_UNDEFINED = 1
-$(eval $(call install-file-in, $(d)/nix-main.pc, $(libdir)/pkgconfig, 0644))
+$(eval $(call install-file-in, $(buildprefix)$(d)/nix-main.pc, $(libdir)/pkgconfig, 0644))