Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
From M.Volat : make smpi scripts sh-compliants to avoid the need to hack with env...
[simgrid.git] / src / smpi / smpiff.in
index b5c10f0..21bc82a 100644 (file)
@@ -1,8 +1,8 @@
-#! /usr/bin/env bash
+#! /bin/sh
 prefix="@exec_prefix@"
 
 ARGS="-DMAIN__=user_main -Diargc_=smpi_process_argc -Dgetarg_=smpi_process_getarg"
-LINKARGS="-lf2c -lm"
+LINKARGS="-L@F2C_LIBRARY_PATH@ -lf2c -lm"
 declare -a SRCFILES
 
 # $1: prefix, $2: suffix