diff --git a/build_tarballs.jl b/build_tarballs.jl index 5d48bb4..9cc6696 100644 --- a/build_tarballs.jl +++ b/build_tarballs.jl @@ -9,11 +9,11 @@ sources = [ # Bash recipe for building across all platforms script = raw""" cd $WORKSPACE/srcdir/xsum -mkdir -p ${libdir} +mkdir -p ${prefix}/lib if [[ $target == i686-* ]]; then xsumfpmath="-mfpmath=sse" fi -${CC} ${LDFLAGS} -shared -fPIC -O3 -std=c99 ${xsumfpmath} -fno-inline-functions -o ${libdir}/libxsum.${dlext} xsum.c pbinary.c +${CC} ${LDFLAGS} -shared -fPIC -O3 -std=c99 ${xsumfpmath} -fno-inline-functions -o ${prefix}/lib/libxsum.${dlext} xsum.c pbinary.c """ # These are the platforms we will build for by default, unless further