scripts/Modules.build: link static, remove source of environment.bash

This commit is contained in:
2014-10-09 17:41:53 +02:00
parent 180afa5637
commit 79bf72ba1d

View File

@@ -1,13 +1,13 @@
#!/bin/bash
source "$(dirname $0)/../config/environment.bash"
source "$(dirname $0)/../lib/libem.bash"
function em.configure() {
CPPFLAGS="-DUSE_INTERP_ERRORLINE" "${MODULE_SRCDIR}"/configure \
--prefix="${EM_PREFIX}/${MODULE_FAMILY}" \
--prefix="${PSI_PREFIX}/${MODULE_FAMILY}" \
--with-module-path="${MODULEPATH_ROOT}" \
--with-static='yes' \
|| exit 1
}
# fake module command