Files
MX_Pmodule/scripts/mpc.build

21 lines
357 B
Bash
Executable File

#!/bin/bash
source "$(dirname $0)/../lib/libem.bash"
function em.configure() {
"${EM_SRCDIR}"/configure \
--prefix="${PREFIX}" \
--with-gmp=$GMP_PREFIX \
--with-mpfr=$MPFR_PREFIX \
--disable-shared \
|| exit 1
}
# use system gcc to compile
declare -rx CC=gcc
em.add_to_family 'Programming'
em.set_build_dependencies 'gmp' 'mpfr'
em.make_all