Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5e1e05c

Browse filesBrowse files
committed
set PKG_CONFIG_PATH environment var
1 parent 1ce3088 commit 5e1e05c
Copy full SHA for 5e1e05c

File tree

Expand file treeCollapse file tree

3 files changed

+4
-0
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+4
-0
lines changed

‎dist/setup/index.js

Copy file name to clipboardExpand all lines: dist/setup/index.js
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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}`

‎src/find-pypy.ts

Copy file name to clipboardExpand all lines: src/find-pypy.ts
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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());

‎src/find-python.ts

Copy file name to clipboardExpand all lines: src/find-python.ts
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.