GNOME Bugzilla – Bug 562033
Risky -I ordering can cause build failure
Last modified: 2008-11-23 20:30:22 UTC
metacity-2.24.0/src/Makefile.am passes -I flags for external support libs before those for the source tree. If any .h installed in the standard places on my system happens to have the same name as one that comes with metacity, compiling can fail because the compiler will find the wrong header. Should always pass all local -I before the globals.
Created attachment 123275 [details] [review] Local -I before global Also removed a space between the -I flag itself and its pathname argument. Apparently some compilers can't handle that (or libtool gets confused or something).
Thanks. Committed in r4029.