From e6e7a641eaa350d1f2fd8248b30078b032320cf2 Mon Sep 17 00:00:00 2001 From: Sebastian Gniazdowski Date: Thu, 7 Jul 2022 05:54:44 +0200 Subject: [PATCH] Add $ZPFX/lib/pkg-config to $PKG_CONFIG_PATH so that libs are found. --- zinit.zsh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/zinit.zsh b/zinit.zsh index d3b6b5e19..12627c623 100644 --- a/zinit.zsh +++ b/zinit.zsh @@ -3232,4 +3232,9 @@ if [[ -e ${${ZINIT[BIN_DIR]}}/zmodules/Src/zdharma/zplugin.so ]] { # Create so that for sure no warncreateglobal warning is issued typeset -g REPLY + +# Add $ZPFX/lib/pkg-config to PKG_MODULE_DIR, so that libraries +# installed locally can be found by autotools and cmake +export PKG_CONFIG_PATH=$ZPFX/lib/pkgconfig:$PKG_CONFIG_PATH + # vim:ft=zsh:sw=4:sts=4:et:foldmarker=[[[,]]]:foldmethod=marker