artemp/trac2github — Issue #159: Default scons search paths could be improved
Author: artemp
Created: 2011-10-09 20:17:17+00:00
State: open
Labels: Scons_Build_Scripts

Using /usr/include for the search paths in SConstruct does not gain us much. The compiler will typically search this directory anyway.

The patch attached moves the default search paths for PostgreSQL and GDAL to other likely locations. The extra PathAccept flag means that Scons will not generate an error if the directory does not exist.

Adding this flag might be a solution for ticket #141 as well.