--- a/components/python/python26/Makefile Wed Nov 09 12:33:59 2011 -0800
+++ b/components/python/python26/Makefile Fri Nov 04 10:38:12 2011 -0700
@@ -34,6 +34,7 @@
include $(WS_TOP)/make-rules/prep.mk
include $(WS_TOP)/make-rules/configure.mk
include $(WS_TOP)/make-rules/ips.mk
+include $(WS_TOP)/make-rules/lint-libraries.mk
# We patch auto* files, so regenerate headers and configure
COMPONENT_PREP_ACTION = \
@@ -62,6 +63,9 @@
# libffi for _ctypes
CPPFLAGS += $(shell pkg-config --cflags-only-I libffi)
+# Python puts its header files in a special place.
+LINT_FLAGS += -I$(SOURCE_DIR)/Include
+
CONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
CONFIGURE_OPTIONS += --enable-shared
CONFIGURE_OPTIONS += --disable-static