Ticket #497 (new defect)

Opened 19 months ago

Last modified 18 months ago

geos-config is a bit confused

Reported by: frankie Owned by: geos-devel@…
Priority: major Milestone: 3.4.0
Component: Default Version: svn-trunk
Severity: Annoyance Keywords:
Cc:

Description

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.

Change History

Changed 18 months ago by strk

  • version changed from 3.3.0 to svn-trunk
  • milestone changed from 3.3.2 to 3.4.0

geos-config --clibs added as of r3541 in 3.3 branch, togheter with GEOS_C_LIBS in geos.m4 For the others I'd postpone to 3.4.0

Changed 18 months ago by strk

r3542 adds --clibs and GEOS_C_LIBS in trunk, the cclibs and static-* needs still be done.

Note: See TracTickets for help on using tickets.