From: Fredrik Tolf Date: Fri, 4 Mar 2011 19:58:22 +0000 (+0100) Subject: python: Made htp properly buildable from installed library. X-Git-Tag: 0.7~1^2~6 X-Git-Url: http://www.dolda2000.com/gitweb/?p=ashd.git;a=commitdiff_plain;h=e8b7861ab2c1c92b79cdbf7a0acecfd6631c2934 python: Made htp properly buildable from installed library. --- diff --git a/python/htp.c b/python/htp.c index e31528e..33c0361 100644 --- a/python/htp.c +++ b/python/htp.c @@ -19,8 +19,8 @@ #include #include -#include -#include +#include +#include static PyObject *p_recvfd(PyObject *self, PyObject *args) { diff --git a/python/setup.py b/python/setup.py index 117ab3f..8fbf028 100755 --- a/python/setup.py +++ b/python/setup.py @@ -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",