summaryrefslogtreecommitdiffstats
path: root/media-libs/lcms/files/lcms-1.19-disable_static_modules.patch
blob: 15e19eeb94e2bf5acb2655140cdb1f21ccfd76c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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