Mercurial > mxe-octave
diff installer-files/octave-launch.c @ 6177:4ba9eb3f70c9 release
* installer-files/cmdshell.bat, installer-files/octave-firsttime.vbs,
installer-files/octave-launch.c, installer-files/octave.bat,
installer-files/octave.vbs: add pkg config path env
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Tue, 19 Apr 2022 09:26:38 -0400 |
parents | 9d6cbb229b0f |
children | 392c5255d044 |
line wrap: on
line diff
--- a/installer-files/octave-launch.c Sun Apr 17 10:44:20 2022 +0200 +++ b/installer-files/octave-launch.c Tue Apr 19 09:26:38 2022 -0400 @@ -217,6 +217,13 @@ SetEnvironmentVariableW (L"PATH", newpathbuffer); } + /* pkg config pc path */ + nSize = lstrlenW (path); + StringCchCatW (path, PATH_SZ, L"\\lib\\pkgconfig"); + SetEnvironmentVariableW (L"PKG_CONFIG_PATH", path); + + path[nSize] = L'\0'; + /* other env */ SetEnvironmentVariableW (L"TERM", L"cygwin"); SetEnvironmentVariableW (L"GNUTERM", L"wxt");