From 437d3bc627d0f953be06fdc2b18a45b8346e6e04 Mon Sep 17 00:00:00 2001 From: James Turner Date: Wed, 26 Jul 2017 16:05:19 -0400 Subject: Remove some stray binaries from the Gemini IRAF 1.14 tarball before building (moved from ac_build_iraf_pkg, where it was briefly included). --- iraf.gemini/build.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/iraf.gemini/build.sh b/iraf.gemini/build.sh index 2353907..9bc61fc 100644 --- a/iraf.gemini/build.sh +++ b/iraf.gemini/build.sh @@ -3,6 +3,10 @@ # eval $PREFIX/iraf/unix/hlib/setup directly if "--level" needs specifying): . setup_iraf.sh +# As of v1.14, the "source" tarball contains some unwanted Apple binaries that +# mess up linking unless removed: +find . \( -name "*.a" -o -name "*.o" \) -exec rm -f {} \; + # Build from source in envs/_build (using build script from astroconda-utils): ac_build_iraf_pkg -- cgit