Opened 12 years ago

Closed 11 years ago

#497 closed defect (fixed)

geos-config is a bit confused

Reported by: frankie Owned by: geos-devel@…
Priority: major Milestone: 3.4.0
Component: Default Version: main
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 (4)

comment:1 by strk, 12 years ago

Milestone: 3.3.23.4.0
Version: 3.3.0svn-trunk

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

comment:2 by strk, 12 years ago

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

comment:3 by robe, 11 years ago

Milestone: 3.4.03.5.0

strk push back if you think you are going to get to this.

comment:4 by strk, 11 years ago

Milestone: 3.5.03.4.0
Resolution: fixed
Status: newclosed

r3832 adds --cclibs, --static-clibs and --static-cclibs

Note: See TracTickets for help on using tickets.