summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@users.noreply.github.com>2016-06-16 09:31:50 -0400
committerGitHub <noreply@github.com>2016-06-16 09:31:50 -0400
commitde4ebc8f97547c5173f7185a343adea717bd9805 (patch)
tree022c9565a2cce4f6c12110bc99c6fafc8f7497f2
parent05f6d809353e181c41b3fc2ecbc40d7f2c011796 (diff)
parenta8f9ab7f50ae99c94fba11d27f34391711dd188a (diff)
downloadastroconda-dev-de4ebc8f97547c5173f7185a343adea717bd9805.tar.gz
Merge pull request #2 from jhunkeler/fix-headerpad
Convert case to one-liner
-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