From 7a6a25502e8db0e3d3c405765005ec31d1a2c4d8 Mon Sep 17 00:00:00 2001 From: barate Date: Fri, 25 Mar 2011 14:33:52 +0000 Subject: [PATCH] Fixed compilation without .la files from other modules --- src/SMESHClient/Makefile.am | 5 +++-- src/SMESH_I/Makefile.am | 6 +++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/SMESHClient/Makefile.am b/src/SMESHClient/Makefile.am index b9a7174b8..01590a5be 100644 --- a/src/SMESHClient/Makefile.am +++ b/src/SMESHClient/Makefile.am @@ -67,8 +67,9 @@ libSMESHClient_la_LDFLAGS = \ ../SMESHDS/libSMESHDS.la \ ../Controls/libSMESHControls.la \ $(KERNEL_LDFLAGS) -lSalomeLifeCycleCORBA -lSalomeNS -lOpUtil -lSALOMEBasics \ - $(GEOM_LDFLAGS) -lNMTDS \ - $(MED_LDFLAGS) -lMEDWrapper_V2_2 -lMEDWrapper_V2_1 \ + -lSalomeIDLKernel -lSALOMELocalTrace \ + $(GEOM_LDFLAGS) -lNMTDS -lSalomeIDLGEOM \ + $(MED_LDFLAGS) -lMEDWrapper_V2_2 -lMEDWrapper_V2_1 -lSalomeIDLMED -lMEDWrapper \ $(CAS_KERNEL) SMESHClientBin_CPPFLAGS = \ diff --git a/src/SMESH_I/Makefile.am b/src/SMESH_I/Makefile.am index 6408edb06..ccb6159f2 100644 --- a/src/SMESH_I/Makefile.am +++ b/src/SMESH_I/Makefile.am @@ -120,7 +120,10 @@ libSMESHEngine_la_LDFLAGS = \ -lSalomeLifeCycleCORBA \ -lTOOLSDS \ -lSalomeGenericObj \ + -lSalomeIDLKernel \ + -lSALOMELocalTrace \ $(MED_LDFLAGS) \ + -lMEDWrapper \ -lMEDWrapper_V2_2 \ -lSalomeIDLMED \ $(CAS_LDPATH) \ @@ -128,7 +131,8 @@ libSMESHEngine_la_LDFLAGS = \ -lTKBO \ -lTKShHealing \ $(GEOM_LDFLAGS) \ - -lGEOMClient + -lGEOMClient \ + -lSalomeIDLGEOM SMESHEngine_CPPFLAGS = \ $(libSMESHEngine_la_CPPFLAGS)