]> granicus.if.org Git - postgis/commitdiff
Add top-level and postgis/ dirs in include path for building scripts
authorSandro Santilli <strk@keybit.net>
Wed, 21 Dec 2011 14:50:15 +0000 (14:50 +0000)
committerSandro Santilli <strk@keybit.net>
Wed, 21 Dec 2011 14:50:15 +0000 (14:50 +0000)
Fixes an error finding sqldefines.h

git-svn-id: http://svn.osgeo.org/postgis/trunk@8489 b70326c6-7e19-0410-871a-916f4a2858ee

raster/rt_pg/Makefile.in

index 5d4aa605f7fd859216bf663a8b2c399c8677f854..5993e83715d620544e537ca89eac6a2b8cd09e0e 100644 (file)
@@ -81,7 +81,7 @@ endif
 
 # Generate any .sql.in files from .sql.in.c files by running them through the C pre-processor 
 $(SQL_OBJS): %.in: %.in.c
-       $(CPP) -traditional-cpp $< | grep -v '^#' > $@
+       $(CPP) -I../../postgis/ -I../../ -traditional-cpp $< | grep -v '^#' > $@
        
 #remove all create object types since these can't be done cleanly in an upgrade
 rtpostgis_upgrade.sql: rtpostgis.sql