From 50ad834546c18cb24b1c85f7ece709116e264f1c Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Tue, 20 Mar 2018 10:25:07 -0400 Subject: Cfitsio: curl (#329) * cfitsio: Use Conda curl; System curl may be inconsistent at system level * Align recipe with -dev --- cfitsio/build.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'cfitsio/build.sh') 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 -- cgit