[postgis-tickets] [PostGIS] #3604: pgcommon/Makefile.in orders CFLAGS incorrectly leading to wrong liblwgeom.h

PostGIS trac at osgeo.org
Sun Jul 31 09:43:59 PDT 2016


#3604: pgcommon/Makefile.in orders CFLAGS incorrectly leading to wrong liblwgeom.h
------------------------------------+---------------------------
  Reporter:  gdt                    |      Owner:  strk
      Type:  defect                 |     Status:  new
  Priority:  medium                 |  Milestone:  PostGIS 2.3.0
 Component:  build/upgrade/install  |    Version:  trunk
Resolution:                         |   Keywords:
------------------------------------+---------------------------

Comment (by gdt):

 This is harder than it seems.  In addition to putting liblwgeom first,
 pgxs.mk has -I/usr/pkg/include (on pkgsrc systems) in CFLAGS, which is
 before CPPFLAGS.   So the patch also moves the liblwgeom include to CFLAGS
 via an override.  Needs review/discussion.

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3604#comment:2>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list