Skip to content

Commit

Permalink
Add $ZPFX/lib/pkg-config to $PKG_CONFIG_PATH so that libs are found.
Browse files Browse the repository at this point in the history
  • Loading branch information
psprint committed Jul 7, 2022
1 parent a4dc13f commit e6e7a64
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions zinit.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit e6e7a64

Please sign in to comment.