Skip to content

Commit

Permalink
fix: add CXXFLAGS to allow git-crypt to build on ubuntu-22.04
Browse files Browse the repository at this point in the history
See: AGWA/git-crypt#232

Signed-off-by: Markus Maga <markus@maga.se>
  • Loading branch information
Flydiverny committed Dec 5, 2022
1 parent 1811132 commit c09a0c6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@ async function run(): Promise<void> {
core.info(`Extracted ${downloaded} to ${extractedPath}`)

await exec.getExecOutput('make', ['install', `PREFIX=${extractedPath}`], {
cwd: workspace
cwd: workspace,
env: {
...process.env,
CXXFLAGS: '-DOPENSSL_API_COMPAT=0x30000000L'
}
})

toolPath = await tc.cacheDir(
Expand Down

0 comments on commit c09a0c6

Please # to comment.