From 69ac9c48a0cd12b4230bae86827c02c4d6000bab Mon Sep 17 00:00:00 2001 From: Juan Pablo Vielma Date: Fri, 28 Dec 2018 20:33:03 -0300 Subject: [PATCH] Update build_tarballs.jl --- build_tarballs.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build_tarballs.jl b/build_tarballs.jl index 1f66dd6..a6711d1 100755 --- a/build_tarballs.jl +++ b/build_tarballs.jl @@ -48,7 +48,7 @@ if [ $target = "x86_64-apple-darwin14" ]; then # fix linking issue export OSICLPLIB_LIBS=" -lbz2 -lz ${prefix}/lib/libcoinlapack.a ${prefix}/lib/libCoinUtils.a ${prefix}/lib/libOsi.a ${prefix}/lib/libcoinblas.a" - ../configure --prefix=$prefix --disable-pkg-config --host=${target} --enable-shared --enable-static \ + ../configure --prefix=$prefix --with-pic --disable-pkg-config --host=${target} --enable-shared --enable-static \ --with-asl-lib="${prefix}/lib/libasl.a" --with-asl-incdir="$prefix/include/asl" \ --with-blas-lib="${prefix}/lib/libcoinblas.a -lgfortran" \ --with-lapack-lib="${prefix}/lib/libcoinlapack.a" \ @@ -63,7 +63,7 @@ elif [ $target = "x86_64-w64-mingw32" ] || [ $target = "i686-w64-mingw32" ]; the # fix linking issue export OSICLPLIB_LIBS="${prefix}/lib/libOsi.a ${prefix}/lib/libCoinUtils.a ${prefix}/lib/libcoinlapack.a ${prefix}/lib/libcoinblas.a -lgfortran" - ../configure --prefix=$prefix --disable-pkg-config --host=${target} --enable-shared --enable-static \ + ../configure --prefix=$prefix --with-pic --disable-pkg-config --host=${target} --enable-shared --enable-static \ --with-asl-lib="${prefix}/lib/libasl.a" --with-asl-incdir="$prefix/include/asl" \ --with-lapack-lib="${prefix}/lib/libcoinlapack.a" \ --with-mumps-lib="${prefix}/lib/libcoinmumps.a -lgfortran ${prefix}/lib/libcoinmetis.a" --with-mumps-incdir="$prefix/include/coin/ThirdParty" \