File tree Expand file tree Collapse file tree 3 files changed +4
-0
lines changed
Filter options
Expand file tree Collapse file tree 3 files changed +4
-0
lines changed
Original file line number Diff line number Diff line change @@ -52374,6 +52374,7 @@ function findPyPyVersion(versionSpec, architecture) {
52374
52374
const _binDir = path.join(installDir, pipDir);
52375
52375
const pythonLocation = pypyInstall.getPyPyBinaryPath(installDir);
52376
52376
core.exportVariable('pythonLocation', pythonLocation);
52377
+ core.exportVariable('PKG_CONFIG_PATH', pythonLocation + '/lib/pkgconfig');
52377
52378
core.addPath(pythonLocation);
52378
52379
core.addPath(_binDir);
52379
52380
core.setOutput('python-version', 'pypy' + resolvedPyPyVersion.trim());
@@ -57009,6 +57010,7 @@ function useCpythonVersion(version, architecture) {
57009
57010
].join(os.EOL));
57010
57011
}
57011
57012
core.exportVariable('pythonLocation', installDir);
57013
+ core.exportVariable('PKG_CONFIG_PATH', installDir + '/lib/pkgconfig');
57012
57014
if (utils_1.IS_LINUX) {
57013
57015
const libPath = process.env.LD_LIBRARY_PATH
57014
57016
? `:${process.env.LD_LIBRARY_PATH}`
Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ export async function findPyPyVersion(
50
50
const _binDir = path . join ( installDir , pipDir ) ;
51
51
const pythonLocation = pypyInstall . getPyPyBinaryPath ( installDir ) ;
52
52
core . exportVariable ( 'pythonLocation' , pythonLocation ) ;
53
+ core . exportVariable ( 'PKG_CONFIG_PATH' , pythonLocation + '/lib/pkgconfig' ) ;
53
54
core . addPath ( pythonLocation ) ;
54
55
core . addPath ( _binDir ) ;
55
56
core . setOutput ( 'python-version' , 'pypy' + resolvedPyPyVersion . trim ( ) ) ;
Original file line number Diff line number Diff line change @@ -70,6 +70,7 @@ export async function useCpythonVersion(
70
70
}
71
71
72
72
core . exportVariable ( 'pythonLocation' , installDir ) ;
73
+ core . exportVariable ( 'PKG_CONFIG_PATH' , installDir + '/lib/pkgconfig' ) ;
73
74
74
75
if ( IS_LINUX ) {
75
76
const libPath = process . env . LD_LIBRARY_PATH
You can’t perform that action at this time.
0 commit comments