summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-04-17 10:22:31 -0400
committerTavian Barnes <tavianator@tavianator.com>2024-04-17 10:22:31 -0400
commit6917d790e1a76b82e5bc21ed38a38a64cc994d54 (patch)
tree2b20ac094a981be562a13dcaf90f56d7bc1de547 /config
parent2838fd4a4e7fa40dd9cd95c81eb852190371ec5a (diff)
downloadbfs-6917d790e1a76b82e5bc21ed38a38a64cc994d54.tar.xz
build: Properly export PKG_CONFIG
Diffstat (limited to 'config')
-rw-r--r--config/config.mk1
-rw-r--r--config/exports.mk1
2 files changed, 2 insertions, 0 deletions
diff --git a/config/config.mk b/config/config.mk
index c8d7f19..164af76 100644
--- a/config/config.mk
+++ b/config/config.mk
@@ -34,6 +34,7 @@ ${GEN}/vars.mk::
@printf 'CC := %s\n' "$$XCC" >>$@
@printf 'INSTALL := %s\n' "$$XINSTALL" >>$@
@printf 'MKDIR := %s\n' "$$XMKDIR" >>$@
+ @printf 'PKG_CONFIG := %s\n' "$$XPKG_CONFIG" >>$@
@printf 'RM := %s\n' "$$XRM" >>$@
@printf 'PKGS :=\n' >>$@
${VCAT} $@
diff --git a/config/exports.mk b/config/exports.mk
index 9128568..ed19134 100644
--- a/config/exports.mk
+++ b/config/exports.mk
@@ -9,6 +9,7 @@ export XMANDIR=${MANDIR}
export XCC=${CC}
export XINSTALL=${INSTALL}
export XMKDIR=${MKDIR}
+export XPKG_CONFIG=${PKG_CONFIG}
export XRM=${RM}
export XCPPFLAGS=${CPPFLAGS}