From 12e0349f954129195f0041ad2794ed6773a19f4e Mon Sep 17 00:00:00 2001 From: Dmitry Sivachenko Date: Thu, 16 Aug 2012 07:42:00 +0000 Subject: Compile static libxml2.a with -fPIC so 3rd party shared libs can link statically with libxml2.a. OK from: mezz --- textproc/libxml2/files/patch-Makefile.in | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 textproc/libxml2/files/patch-Makefile.in (limited to 'textproc/libxml2') diff --git a/textproc/libxml2/files/patch-Makefile.in b/textproc/libxml2/files/patch-Makefile.in new file mode 100644 index 000000000000..9bd2f4a72418 --- /dev/null +++ b/textproc/libxml2/files/patch-Makefile.in @@ -0,0 +1,11 @@ +--- Makefile.in.orig 2010-11-04 20:28:16.000000000 +0300 ++++ Makefile.in 2012-08-16 11:15:53.000000000 +0400 +@@ -1069,7 +1069,7 @@ + @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` + + .c.lo: +-@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< ++@am__fastdepCC_TRUE@ $(LTCOMPILE) -fPIC -DPIC -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< + @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -- cgit v1.2.3