summaryrefslogtreecommitdiff
path: root/jwst
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2016-06-16 09:30:02 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2016-06-16 09:30:02 -0400
commita8f9ab7f50ae99c94fba11d27f34391711dd188a (patch)
tree022c9565a2cce4f6c12110bc99c6fafc8f7497f2 /jwst
parent0387d301493eaf0491e8590264a1e3f257c6e90f (diff)
downloadastroconda-dev-a8f9ab7f50ae99c94fba11d27f34391711dd188a.tar.gz
Convert case to one-liner
Diffstat (limited to 'jwst')
-rw-r--r--jwst/build.sh12
1 files changed, 1 insertions, 11 deletions
diff --git a/jwst/build.sh b/jwst/build.sh
index d7b5829..12f1312 100644
--- a/jwst/build.sh
+++ b/jwst/build.sh
@@ -1,12 +1,2 @@
-case `uname` in
- Darwin)
- export LDFLAGS="${LDFLAGS} -headerpad_max_install_names"
- ;;
- Linux)
- export CFLAGS="${CFLAGS} -Wl,-headerpad_max_install_names"
- ;;
- *)
- ;;
-esac
-
+export CFLAGS="${CFLAGS} -Wl,-headerpad_max_install_names"
$PYTHON setup.py install