[cgma-dev] Linking to iGeom is different from linking to iMesh/iRel

Jed Brown jed at 59A2.org
Wed Mar 25 10:37:32 CDT 2009


In particular, IMESH_LIBS includes IMESH_LDFLAGS, but IGEOM_LIBS does
not.  Since iRel linking agrees with iMesh, I assume that iGeom is
non-conforming.  I'm using the following patch for consistency.


commit d073994b43b00a075be83b44c0f76a64011f9214
Author: Jed Brown <jed at 59A2.org>
Date:   Wed Mar 25 16:28:55 2009 +0100

   Include IGEOM_LDFLAGS in IGEOM_LIBS.

diff --git a/itaps/iGeom-Defs.inc.in b/itaps/iGeom-Defs.inc.in
index edcdcff..4501276 100644
--- a/itaps/iGeom-Defs.inc.in
+++ b/itaps/iGeom-Defs.inc.in
@@ -10,7 +10,7 @@ IGEOM_CPPFLAGS = $(IGEOM_DEFINES) $(IGEOM_INCLUDES)
 # The useful flags we are providing
 IGEOM_LDFLAGS = $(IGEOM_CXX_LDFLAGS) @CGM_EXT_LDFLAGS@ @CGM_CXX_LINKFLAGS@
 IGEOM_LTFLAGS = $(IGEOM_CXX_LTFLAGS) @CGM_EXT_LTFLAGS@
-IGEOM_LIBS    = -liGeom -lcgm @CGM_EXT_LIBS@ @CGM_CXX_LIBS@
+IGEOM_LIBS    = $(IGEOM_LDFLAGS) -liGeom -lcgm @CGM_EXT_LIBS@ @CGM_CXX_LIBS@

 # These are overridden after this file in installed
 IGEOM_CXX_LDFLAGS = -L at abs_top_builddir@/.libs -L at abs_builddir@/.libs


Jed
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/cgma-dev/attachments/20090325/0c135516/attachment.pgp>


More information about the cgma-dev mailing list