File tree Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Open diff view settings
Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Open diff view settings
Original file line number Diff line number Diff line change @@ -52374,6 +52374,7 @@ function findPyPyVersion(versionSpec, architecture) {
5237452374 const _binDir = path.join(installDir, pipDir);
5237552375 const pythonLocation = pypyInstall.getPyPyBinaryPath(installDir);
5237652376 core.exportVariable('pythonLocation', pythonLocation);
52377+ core.exportVariable('PKG_CONFIG_PATH', pythonLocation + '/lib/pkgconfig');
5237752378 core.addPath(pythonLocation);
5237852379 core.addPath(_binDir);
5237952380 core.setOutput('python-version', 'pypy' + resolvedPyPyVersion.trim());
@@ -57009,6 +57010,7 @@ function useCpythonVersion(version, architecture) {
5700957010 ].join(os.EOL));
5701057011 }
5701157012 core.exportVariable('pythonLocation', installDir);
57013+ core.exportVariable('PKG_CONFIG_PATH', installDir + '/lib/pkgconfig');
5701257014 if (utils_1.IS_LINUX) {
5701357015 const libPath = process.env.LD_LIBRARY_PATH
5701457016 ? `:${process.env.LD_LIBRARY_PATH}`
Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ export async function findPyPyVersion(
5050 const _binDir = path . join ( installDir , pipDir ) ;
5151 const pythonLocation = pypyInstall . getPyPyBinaryPath ( installDir ) ;
5252 core . exportVariable ( 'pythonLocation' , pythonLocation ) ;
53+ core . exportVariable ( 'PKG_CONFIG_PATH' , pythonLocation + '/lib/pkgconfig' ) ;
5354 core . addPath ( pythonLocation ) ;
5455 core . addPath ( _binDir ) ;
5556 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(
7070 }
7171
7272 core . exportVariable ( 'pythonLocation' , installDir ) ;
73+ core . exportVariable ( 'PKG_CONFIG_PATH' , installDir + '/lib/pkgconfig' ) ;
7374
7475 if ( IS_LINUX ) {
7576 const libPath = process . env . LD_LIBRARY_PATH
You can’t perform that action at this time.
0 commit comments