From 956bf6c74165c42d14116807aa70e8c81e42df11 Mon Sep 17 00:00:00 2001 From: James Turner Date: Thu, 29 Dec 2016 15:48:57 -0300 Subject: Set LD_LIBRARY_PATH during the build, as conda-build apparently doesn't (and ./config can't run the test programs it compiles otherwise). --- iraf.axe/build.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- cgit