--- a/components/python/pycups/Makefile Thu Feb 23 15:58:00 2012 -0800
+++ b/components/python/pycups/Makefile Fri Feb 24 13:30:24 2012 -0800
@@ -18,7 +18,7 @@
#
# CDDL HEADER END
#
-# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
#
include ../../../make-rules/shared-macros.mk
@@ -39,6 +39,9 @@
# pycups requires VERSION to be defined. Originally set in the package Makefile
CFLAGS += -DVERSION=\\\"$(COMPONENT_VERSION)\\\"
+# build modules PIC (needed for Python 2.7)
+CFLAGS += $(CC_PIC)
+
# common targets
build: $(BUILD_32_and_64)