[MOAB-dev] commit/MOAB: iulian07: shared builds fix

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Wed Mar 5 15:45:33 CST 2014


1 new commit in MOAB:

https://bitbucket.org/fathomteam/moab/commits/295181127aa0/
Changeset:   295181127aa0
Branch:      master
User:        iulian07
Date:        2014-03-05 22:43:16
Summary:     shared builds fix

on ubuntu 12.04, the dependent libraries need to be spelled out
it seems that the static builds do not need it.
I was building only static this mbcslam, so I did not realize
this is needed

Affected #:  1 file

diff --git a/tools/mbcslam/Makefile.am b/tools/mbcslam/Makefile.am
index 766c8ab..0dac164 100644
--- a/tools/mbcslam/Makefile.am
+++ b/tools/mbcslam/Makefile.am
@@ -20,7 +20,7 @@ AM_CPPFLAGS += -DSRCDIR=$(srcdir) \
 lib_LTLIBRARIES = libmbcslam.la
 libmbcslam_la_LIBADD = $(top_builddir)/src/libMOAB.la $(top_builddir)/itaps/imesh/libiMesh.la 
          
-LDADD = $(top_builddir)/src/libMOAB.la libmbcslam.la 
+LDADD = libmbcslam.la  $(top_builddir)/src/libMOAB.la 
 
 libmbcslam_la_SOURCES = \
    Intx2Mesh.cpp Intx2Mesh.hpp Intx2MeshOnSphere.cpp Intx2MeshOnSphere.hpp \
@@ -52,8 +52,10 @@ intx_mpas_SOURCES = intx_mpas.cpp
 cslam_par_test_SOURCES = cslam_par_test.cpp
 proj1_SOURCES = proj1.cpp
 intx_imesh_SOURCES = intx_imesh.cpp
+intx_imesh_LDADD = $(LDADD) $(top_builddir)/itaps/imesh/libiMesh.la
 create_dp_SOURCES = create_dp.cpp
 advection_SOURCES = advection.F90
+advection_LDADD = $(LDADD) $(top_builddir)/itaps/imesh/libiMesh.la
 
 EXTRA_DIST  = lagrangeHomme.vtk  \
               eulerHomme.vtk \

Repository URL: https://bitbucket.org/fathomteam/moab/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.


More information about the moab-dev mailing list