summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Sommerseth <davids@redhat.com>2009-04-02 19:27:30 +0200
committerDavid Sommerseth <davids@redhat.com>2009-04-29 11:22:11 +0200
commit2ed8a0e7cb6cbdeec1c1c49e7aedf03188e72017 (patch)
tree9e9ccfd6a1964063f03ca07006f7caaadd4f1fa6
parent1da04aa097db78c7474877049334c2c07b33bda1 (diff)
downloadpython-dmidecode-2ed8a0e7cb6cbdeec1c1c49e7aedf03188e72017.tar.gz
python-dmidecode-2ed8a0e7cb6cbdeec1c1c49e7aedf03188e72017.tar.xz
python-dmidecode-2ed8a0e7cb6cbdeec1c1c49e7aedf03188e72017.zip
Modified setup.py to compile in dmixml.c and link against libxml2
-rw-r--r--src/setup.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/setup.py b/src/setup.py
index b0999b5..6272e85 100644
--- a/src/setup.py
+++ b/src/setup.py
@@ -15,10 +15,12 @@ setup(
"src/dmihelper.c",
"src/util.c",
"src/dmioem.c",
- "src/dmidecode.c"
+ "src/dmidecode.c",
+ "src/dmixml.c"
],
+ include_dirs = [ "/usr/include/libxml2" ],
library_dirs = [ "/home/nima/dev-room/projects/dmidecode" ],
- libraries = [ "util" ],
+ libraries = [ "util", "xml2" ],
#libraries = [ "util", "efence" ],
)
]