summaryrefslogtreecommitdiffstats
path: root/gentoo/media-libs/lcms/files/lcms-1.19-disable_static_modules.patch
diff options
context:
space:
mode:
Diffstat (limited to 'gentoo/media-libs/lcms/files/lcms-1.19-disable_static_modules.patch')
-rw-r--r--gentoo/media-libs/lcms/files/lcms-1.19-disable_static_modules.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/gentoo/media-libs/lcms/files/lcms-1.19-disable_static_modules.patch b/gentoo/media-libs/lcms/files/lcms-1.19-disable_static_modules.patch
new file mode 100644
index 000000000..15e19eeb9
--- /dev/null
+++ b/gentoo/media-libs/lcms/files/lcms-1.19-disable_static_modules.patch
@@ -0,0 +1,20 @@
+--- a/python/Makefile.am
++++ b/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