Skip to content

Commit 551a23c

Browse files
committed
Add pkgconfig path to homebrew install script
1 parent 0a9ce82 commit 551a23c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

10/system_root/usr/bin/heliumos-homebrew-install

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ with open(script_env_temp_path, 'w') as f:
3131
f.write('export C_INCLUDE_PATH=$C_INCLUDE_PATH:$(brew --prefix)/include/ \n')
3232
f.write('export CPLUS_INCLUDE_PATH=$CPLUS_INCLUDE_PATH:$(brew --prefix)/include/ \n')
3333
f.write('export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(brew --prefix)/lib/ \n')
34+
f.write('export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:$(brew --prefix)/lib/pkgconfig/ \n')
3435

3536
shell(f'sudo mv {script_env_temp_path} {script_env_path}')
3637

0 commit comments

Comments
 (0)