diff options
author | Joseph Hunkeler <jhunkeler@users.noreply.github.com> | 2018-03-20 10:25:07 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-20 10:25:07 -0400 |
commit | 50ad834546c18cb24b1c85f7ece709116e264f1c (patch) | |
tree | ee304ce296f16aedb37b6e0d334761c908bda7c5 /cfitsio/build.sh | |
parent | 0ceeeda09ae9b8ac845bf4475b816dfd8f45dd75 (diff) | |
download | astroconda-contrib-50ad834546c18cb24b1c85f7ece709116e264f1c.tar.gz |
Cfitsio: curl (#329)
* cfitsio: Use Conda curl; System curl may be inconsistent at system level
* Align recipe with -dev
Diffstat (limited to 'cfitsio/build.sh')
-rw-r--r-- | cfitsio/build.sh | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/cfitsio/build.sh b/cfitsio/build.sh index 6ceb369..5368e6b 100644 --- a/cfitsio/build.sh +++ b/cfitsio/build.sh @@ -1,3 +1,8 @@ - +case "$(uname)" in + Darwin) + export CFLAGS="$CFLAGS -D_POSIX_C_SOURCE=200112L" + ;; +esac ./configure --prefix=$PREFIX --disable-static --enable-reentrant -(make -j $CPU_COUNT shared && make install)
\ No newline at end of file +make -j $CPU_COUNT shared +make install |