Skip to content

Commit 0df371f

Browse files
committed
chore: use upstream OpenSSL toolchain repair
1 parent 75942a6 commit 0df371f

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

pkgs/c/compat.openssl.lua

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
-- so there resolve_make() falls back to PATH.
1010
--
1111
-- Because that build runs OUTSIDE mcpp's compile rules, it inherits none of
12-
-- the resolved toolchain's flags — it just calls `cc`. Anything the toolchain
13-
-- needs spelled out (Linux payload headers, macOS SDK, ranlib) has to be
14-
-- handed to it explicitly; see cc_override() and the install_sw step.
12+
-- the resolved toolchain's flags — it just calls `cc`. Anything the host
13+
-- toolchain needs spelled out (macOS SDK, ranlib) has to be handed to it
14+
-- explicitly; see cc_override() and the install_sw step.
1515
--
1616
-- PERL. `./config` execs `Configure`, which is `#!/usr/bin/env perl` and opens
1717
-- with `use Config; use FindBin;`. So what this build needs is not "a perl
@@ -395,7 +395,6 @@ local function _install_impl()
395395
perl_path, make, sh_quote(logf)))
396396

397397
local cc = cc_override()
398-
if not cc then return false end
399398
if not run("./config", logf, string.format(
400399
"%scd %s && %s./config --prefix=%s --libdir=lib %s >> %s 2>&1",
401400
perl_path, sh_quote(srcroot), cc, sh_quote(prefix), flags,

0 commit comments

Comments
 (0)