summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-02-26 18:18:37 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-02-26 18:18:37 +0000
commita065f2d3a18607e595e16db949a3a78e9d61298b (patch)
tree7f51211da4dbed5514e38b553b5be914c85c78de /media-libs/lcms/files
parentdepend virtual/jpeg (diff)
downloadgentoo-2-a065f2d3a18607e595e16db949a3a78e9d61298b.tar.gz
gentoo-2-a065f2d3a18607e595e16db949a3a78e9d61298b.tar.bz2
gentoo-2-a065f2d3a18607e595e16db949a3a78e9d61298b.zip
Set SUPPORT_PYTHON_ABIS, don't install .a files in Python site-packages directories (bug #356601).
(Portage version: 2.2.0_alpha25_p8/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/lcms/files')
-rw-r--r--media-libs/lcms/files/lcms-1.19-disable_static_modules.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/media-libs/lcms/files/lcms-1.19-disable_static_modules.patch b/media-libs/lcms/files/lcms-1.19-disable_static_modules.patch
new file mode 100644
index 000000000000..23eeb48cc96d
--- /dev/null
+++ b/media-libs/lcms/files/lcms-1.19-disable_static_modules.patch
@@ -0,0 +1,20 @@
+--- python/Makefile.am
++++ python/Makefile.am
+@@ -22,7 +22,7 @@
+
+ endif
+
+-_lcms_la_LDFLAGS = -no-undefined -module -avoid-version \
++_lcms_la_LDFLAGS = -no-undefined -module -avoid-version -shared \
+ -L$(LCMS_PYLIB)/config
+
+ _lcms_la_LIBADD = $(top_builddir)/src/liblcms.la -lpython$(PYTHON_VERSION)
+@@ -31,7 +31,7 @@
+
+ _lcms_la_CPPFLAGS = -I$(PYTHON_PREFIX)/include/python$(PYTHON_VERSION) \
+ -I$(LCMS_PYINCLUDE) \
+- $(AM_CPPFLAGS)
++ $(AM_CPPFLAGS) -shared
+
+
+ EXTRA_DIST = lcms.py lcms.i testbed swig_lcms