summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/setup.py b/setup.py
index df934f41..5b89e7e5 100755
--- a/setup.py
+++ b/setup.py
@@ -6,6 +6,10 @@ import os
libs = ["ledger", "boost_python", "gmp", "pcre"]
+if os.environ.has_key ("HAVE_EXPAT") and\
+ os.environ["HAVE_EXPAT"] == "true":
+ libs.extend (["expat"])
+
if os.environ.has_key ("HAVE_XMLPARSE") and\
os.environ["HAVE_XMLPARSE"] == "true":
libs.extend (["xmlparse", "xmltok"])