[geos-devel] [GEOS] #497: geos-config is a bit confused
GEOS
geos-trac at osgeo.org
Wed Nov 30 11:55:06 EST 2011
#497: geos-config is a bit confused
-----------------------+----------------------------------------------------
Reporter: frankie | Owner: geos-devel@…
Type: defect | Status: new
Priority: major | Milestone: 3.3.2
Component: Default | Version: 3.3.0
Severity: Annoyance | Keywords:
-----------------------+----------------------------------------------------
while it is quite clear that the C stable API is the way to go for
development, and should be preferred to the C++ API, the geos-config tool
is quite confused (if not wrong) about that.
I suggest you change the --libs to provide -lgeos_c (which is sane and
safe for most programs) and add --cclibs for others. Note that it is
probably a good thing adding --static-libs and --static-cclibs (i.e.
-lgeos_c -lgeos -lm and -lgeos -lm) to simplify dependency providing for
the --static case.
--
Ticket URL: <http://trac.osgeo.org/geos/ticket/497>
GEOS <http://geos.refractions.net/>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).
More information about the geos-devel
mailing list