Get the include ordering right for TCL includes vs whatever is coming
authorTom Lane <[email protected]>
Fri, 1 Aug 2003 19:01:49 +0000 (19:01 +0000)
committerTom Lane <[email protected]>
Fri, 1 Aug 2003 19:01:49 +0000 (19:01 +0000)
from --with-includes.

src/bin/pgtclsh/Makefile

index 1cdc7e8b5d81db5c9afa69a9c9d7127a3c3f020a..5ed5a22a7ed24b73e0caf3717a1f1e6dac99a20c 100644 (file)
@@ -19,7 +19,7 @@ libpgtcl_srcdir = $(top_srcdir)/src/interfaces/libpgtcl
 libpgtcl_builddir = $(top_builddir)/src/interfaces/libpgtcl
 libpgtcl = -L$(libpgtcl_builddir) -lpgtcl
 
-override CPPFLAGS := -I$(libpgtcl_srcdir) $(CPPFLAGS) $(TK_XINCLUDES) $(TCL_INCLUDE_SPEC)
+override CPPFLAGS := -I$(libpgtcl_srcdir) $(TK_XINCLUDES) $(TCL_INCLUDE_SPEC) $(CPPFLAGS)
 
 
 # If we are here then Tcl is available