libparamedloader_la_LDFLAGS= ../ParaMEDMEM/libparamedmem.la \
../MEDLoader/libmedloader.la \
../MEDCoupling/libmedcoupling.la \
- ../INTERP_KERNEL/libinterpkernel.la $(MPI_LIBS) $(MED3_LIBS) $(HDF5_LIBS)
+ ../INTERP_KERNEL/libinterpkernel.la $(MPI_LIBS) $(MED3_LIBS_C_ONLY) $(HDF5_LIBS)
endif
-LDADD = $(MED3_LIBS) $(libMEDMEMTest_la_LDFLAGS) -lm $(MPI_LIBS) \
+LDADD = $(MED3_LIBS_C_ONLY) $(libMEDMEMTest_la_LDFLAGS) -lm $(MPI_LIBS) \
libParaMEDMEMTest.la \
../INTERP_KERNEL/libinterpkernel.la $(CPPUNIT_LIBS) \
../ParaMEDMEM/libparamedmem.la \
$(MPI_INCLUDES) -I$(srcdir)/../ParaMEDMEM -I$(srcdir)/../MEDCoupling_Swig -I$(srcdir)/../INTERP_KERNEL/Bases \
-I$(srcdir)/../MEDCoupling -I$(srcdir)/../ParaMEDLoader -I$(srcdir)/../MEDLoader -I$(srcdir)/../MEDLoader/Swig
-_ParaMEDMEM_la_LDFLAGS = -module $(MED3_LIBS) $(HDF5_LIBS) $(PYTHON_LIBS) $(MPI_LIBS) \
+_ParaMEDMEM_la_LDFLAGS = -module $(MED3_LIBS_C_ONLY) $(HDF5_LIBS) $(PYTHON_LIBS) $(MPI_LIBS) \
../MEDCoupling/libmedcoupling.la ../INTERP_KERNEL/libinterpkernel.la \
../ParaMEDMEM/libparamedmem.la ../ParaMEDLoader/libparamedloader.la