Index: ../trunk-jpl/src/c/Makefile.am
===================================================================
--- ../trunk-jpl/src/c/Makefile.am	(revision 18332)
+++ ../trunk-jpl/src/c/Makefile.am	(revision 18333)
@@ -911,7 +911,10 @@
 endif
 
 #Standard libraries
-LDADD = ./libISSMCore.la ./libISSMOverload.la ./libISSMModules.la $(TRIANGLELIB)
+LDADD = ./libISSMCore.la ./libISSMOverload.la
+if WRAPPERS
+LDADD += ./libISSMModules.la $(TRIANGLELIB)
+endif
 
 #External packages
 LDADD += $(PETSCLIB) $(TAOLIB) $(M1QN3LIB) $(PLAPACKLIB) $(MUMPSLIB) $(SUPERLULIB) $(SPOOLESLIB) $(SCALAPACKLIB) $(BLACSLIB) $(HYPRELIB) $(SPAILIB) $(PROMETHEUSLIB) $(PASTIXLIB) $(MLLIB) $(DAKOTALIB) $(METISLIB) $(CHACOLIB) $(SCOTCHLIB) $(BLASLAPACKLIB) $(MKLLIB) $(MPILIB)  $(MATHLIB) $(GRAPHICSLIB) $(MULTITHREADINGLIB) $(OSLIBS) $(GSLLIB) $(AMPILIB) $(ADOLCLIB) $(MPILIB) $(METEOIOLIB) $(SNOWPACKLIB)
