Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix build when an older version of simgrid is already installed. v3_10_x
authorArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Mon, 20 Jan 2014 08:49:37 +0000 (09:49 +0100)
committerArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Mon, 20 Jan 2014 08:50:32 +0000 (09:50 +0100)
Put CMAKE_LINKARGS before CMDLINE so that libsimgrid is caught from the
right directory.

src/smpi/smpicc.in

index 843c526..d88318f 100755 (executable)
@@ -36,7 +36,7 @@ while [ -n "$1" ]; do
   esac
 done
 
-CMDLINE="${CC} ${CFLAGS} ${CMDLINE} ${INCLUDEARGS} ${CMAKE_LINKARGS} ${LINKARGS}"
+CMDLINE="${CC} ${CFLAGS} ${INCLUDEARGS} ${CMAKE_LINKARGS} ${CMDLINE} ${LINKARGS}"
 
 #echo "${CMDLINE}"
 ${CMDLINE}