]> granicus.if.org Git - postgis/commitdiff
Ensure local liblwgeom and libpgcommon includes are scanned first
authorSandro Santilli <strk@keybit.net>
Fri, 17 May 2013 22:53:31 +0000 (22:53 +0000)
committerSandro Santilli <strk@keybit.net>
Fri, 17 May 2013 22:53:31 +0000 (22:53 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@11470 b70326c6-7e19-0410-871a-916f4a2858ee

postgis/Makefile.in

index da2487946023df4794fc212c1864f25a7d0f082f..929de979f98758545ac795de3c757f5f7f634eb5 100644 (file)
@@ -89,7 +89,7 @@ OBJS=$(PG_OBJS)
 # to an existing liblwgeom.so in the PostgreSQL $libdir supplied by an
 # older version of PostGIS, rather than with the static liblwgeom.a 
 # supplied with newer versions of PostGIS
-PG_CPPFLAGS += @CPPFLAGS@ -I../liblwgeom -I../libpgcommon -fPIC
+PG_CPPFLAGS += -I../liblwgeom -I../libpgcommon @CPPFLAGS@ -fPIC
 SHLIB_LINK_F = ../libpgcommon/libpgcommon.a ../liblwgeom/.libs/liblwgeom.a @SHLIB_LINK@
 
 # Add SFCGAL Flags if defined