summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2005-09-26 05:40:55 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 02:41:18 -0400
commitb462a8bf5076ea7376acdc8f7e12054c7f70bdb9 (patch)
treee65bd9c999f3e6f00e138fb3bda87e41a5b44a06 /setup.py
parent1d49b9451226ec2d2a52c247421dd9d3f9aa582c (diff)
downloadfork-ledger-b462a8bf5076ea7376acdc8f7e12054c7f70bdb9.tar.gz
fork-ledger-b462a8bf5076ea7376acdc8f7e12054c7f70bdb9.tar.bz2
fork-ledger-b462a8bf5076ea7376acdc8f7e12054c7f70bdb9.zip
*** empty log message ***
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"])