python: Made htp properly buildable from installed library.
authorFredrik Tolf <fredrik@dolda2000.com>
Fri, 4 Mar 2011 19:58:22 +0000 (20:58 +0100)
committerFredrik Tolf <fredrik@dolda2000.com>
Fri, 4 Mar 2011 19:58:22 +0000 (20:58 +0100)
python/htp.c
python/setup.py

index e31528e..33c0361 100644 (file)
@@ -19,8 +19,8 @@
 #include <Python.h>
 #include <errno.h>
 
-#include <utils.h>
-#include <proc.h>
+#include <ashd/utils.h>
+#include <ashd/proc.h>
 
 static PyObject *p_recvfd(PyObject *self, PyObject *args)
 {
index 117ab3f..8fbf028 100755 (executable)
@@ -3,9 +3,7 @@
 from distutils.core import setup, Extension
 
 htlib = Extension("ashd.htlib", ["htp.c"],
-                  libraries = ["ht"],
-                  library_dirs = ["../lib/"],
-                  include_dirs = ["../lib/"])
+                  libraries = ["ht"])
 
 setup(name = "ashd-py",
       version = "0.1",