diff options
author | James Turner <jturner@gemini.edu> | 2016-12-29 13:48:57 -0500 |
---|---|---|
committer | James Turner <jturner@gemini.edu> | 2016-12-29 13:48:57 -0500 |
commit | 956bf6c74165c42d14116807aa70e8c81e42df11 (patch) | |
tree | 94b21a458cc99b15379c85d87580187d42f4011e | |
parent | aeddc92d00105c19fba6742e8d281951525581af (diff) | |
download | astroconda-iraf-956bf6c74165c42d14116807aa70e8c81e42df11.tar.gz |
Set LD_LIBRARY_PATH during the build, as conda-build apparently doesn't (and ./config can't run the test programs it compiles otherwise).
-rw-r--r-- | iraf.axe/build.sh | 6 |
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 |