[Checkins] SVN: z3c.recipe.staticlxml/trunk/src/z3c/recipe/staticlxml/__init__.py also trying --with-pic for libxml build

Reinout van Rees reinout at vanrees.org
Mon Aug 24 08:20:49 EDT 2009


Log message for revision 103142:
  also trying --with-pic for libxml build
  

Changed:
  U   z3c.recipe.staticlxml/trunk/src/z3c/recipe/staticlxml/__init__.py

-=-
Modified: z3c.recipe.staticlxml/trunk/src/z3c/recipe/staticlxml/__init__.py
===================================================================
--- z3c.recipe.staticlxml/trunk/src/z3c/recipe/staticlxml/__init__.py	2009-08-24 12:09:16 UTC (rev 103141)
+++ z3c.recipe.staticlxml/trunk/src/z3c/recipe/staticlxml/__init__.py	2009-08-24 12:20:49 UTC (rev 103142)
@@ -118,6 +118,8 @@
         options = self.options.copy()
         options["url"] = self.xml2_url
         options["extra_options"] = "--without-python"
+        if platform.machine() == 'x86_64':
+            options["extra_options"] += ' --with-pic'
         self.xml2_cmmi = zc.recipe.cmmi.Recipe(self.buildout, "libxml2", options)
 
         if not self.force and os.path.exists(os.path.join(self.xml2_cmmi.options["location"], "bin", "xml2-config")):



More information about the Checkins mailing list