[Checkins] SVN: z3c.recipe.staticlxml/trunk/ Fix ubuntu build by not adding 'iconv' lib.

Stefan Eletzhofer stefan.eletzhofer at inquant.de
Mon Dec 1 04:49:21 EST 2008


Log message for revision 93468:
  Fix ubuntu build by not adding 'iconv' lib.

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

-=-
Modified: z3c.recipe.staticlxml/trunk/CHANGES.txt
===================================================================
--- z3c.recipe.staticlxml/trunk/CHANGES.txt	2008-12-01 09:47:22 UTC (rev 93467)
+++ z3c.recipe.staticlxml/trunk/CHANGES.txt	2008-12-01 09:49:20 UTC (rev 93468)
@@ -1,9 +1,8 @@
 trunk
 =====
 
-- no changes
+- Only add ``iconv`` on darwin. [seletz]
 
-
 0.2.1 (2008-11-28)
 ==================
 

Modified: z3c.recipe.staticlxml/trunk/src/z3c/recipe/staticlxml/__init__.py
===================================================================
--- z3c.recipe.staticlxml/trunk/src/z3c/recipe/staticlxml/__init__.py	2008-12-01 09:47:22 UTC (rev 93467)
+++ z3c.recipe.staticlxml/trunk/src/z3c/recipe/staticlxml/__init__.py	2008-12-01 09:49:20 UTC (rev 93468)
@@ -161,8 +161,11 @@
                 os.path.join(self.xml2_location, "lib"),
                 os.path.join(self.xslt_location, "lib"),
                 )
-        self.options["libraries"] = "iconv" # missing in lxml setup.py jungle, but needed by
-                                            # libxml2 and libxslt
+
+        if "darwin" in sys.platform:
+            self.logger.warn("Adding ``iconv`` to libs due to a lxml setup bug.")
+            self.options["libraries"] = "iconv"
+
         self.lxml_custom = Custom(self.buildout, self.name, self.options)
         self.lxml_custom.environment = self.lxml_build_env()
 



More information about the Checkins mailing list