]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Add the libSalomeLifeCycleCORBA (from KERNEL) in the LD flags because libSalomeApp...
authorboulant <boulant>
Wed, 29 Aug 2012 08:32:18 +0000 (08:32 +0000)
committerboulant <boulant>
Wed, 29 Aug 2012 08:32:18 +0000 (08:32 +0000)
Without this explicit dependency, the linking of executable programs using libSalomeApp fails with recent versions of g++.

src/SalomeApp/Makefile.am

index 8ec07496c39c40f6a80f9cb8c9a44e2d23493458..6191bd8e2541bdf7fd0a9c257684f7878f04a980 100755 (executable)
@@ -121,7 +121,7 @@ libSalomeApp_la_CPPFLAGS = $(PYTHON_INCLUDES) $(QT_INCLUDES) $(QWT_INCLUDES)        \
        -I$(srcdir)/../Event -I$(srcdir)/../CASCatch  -I$(srcdir)/../Prs        \
        @CORBA_CXXFLAGS@ @CORBA_INCLUDES@ @LIBXML_INCLUDES@
 libSalomeApp_la_LDFLAGS = $(PYTHON_LIBS) $(QT_MT_LIBS) 
-libSalomeApp_la_LIBADD  = $(KERNEL_LDFLAGS) -lOpUtil -lSALOMELocalTrace -lSalomeDSClient               \
+libSalomeApp_la_LIBADD  = $(KERNEL_LDFLAGS) -lOpUtil -lSALOMELocalTrace -lSalomeLifeCycleCORBA -lSalomeDSClient                \
        ../SUIT/libsuit.la ../STD/libstd.la ../CAM/libCAM.la ../ObjBrowser/libObjBrowser.la     \
        ../Prs/libSalomePrs.la ../SPlot2d/libSPlot2d.la ../GLViewer/libGLViewer.la              \
        ../OCCViewer/libOCCViewer.la ../VTKViewer/libVTKViewer.la ../OBJECT/libSalomeObject.la  \