aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--iraf.axe/build.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/iraf.axe/build.sh b/iraf.axe/build.sh
index c55d286..64e5384 100644
--- a/iraf.axe/build.sh
+++ b/iraf.axe/build.sh
@@ -1,7 +1,11 @@
-# Install aXe binaries into STSDAS in the same way as the Ureka pkg-install:
+# Install aXe binaries into STSDAS in the same way as the Ureka pkg-install.
cd ccc
+# I'd have thought conda-build would take care of this but it appears not to:
+export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$PREFIX/lib"
+export DYLD_LIBRARY_PATH="$DYLD_LIBRARY_PATH:$PREFIX/lib"
+
./configure --prefix="$PREFIX" --with-cfitsio-prefix="$PREFIX" \
--with-wcstools-prefix="$PREFIX/lib" --build=x86 \
--with-gsl-prefix="$PREFIX" || exit 1