Skip to content

Commit 5bd7eb9

Browse files
committed
F mpc
1 parent 425d1e5 commit 5bd7eb9

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

projects/gnu.org/mpc/build.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ import { BuildOptions, env_include, run, unarchive } from "brewkit";
33
export default async function ({ prefix, tag }: BuildOptions) {
44
await unarchive(`https://ftp.gnu.org/gnu/mpc/mpc-${tag}.tar.gz`);
55

6+
env_include("gnu.org/gmp"); // statically linked on linux
7+
68
run`./configure --prefix=${prefix}`;
79
run`make --jobs ${navigator.hardwareConcurrency} install`;
810
}

projects/gnu.org/mpc/package.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ description:
99

1010
dependencies:
1111
gnu.org/mpfr: ^4
12-
gnu.org/gmp: ^6
12+
13+
darwin:
14+
dependencies:
15+
gnu.org/gmp: ^6 # on Linux we statically link due to libstdc++ sucking
1316

1417
platforms:
1518
- darwin/aarch64

0 commit comments

Comments
 (0)