From e8b7861ab2c1c92b79cdbf7a0acecfd6631c2934 Mon Sep 17 00:00:00 2001 From: Fredrik Tolf Date: Fri, 4 Mar 2011 20:58:22 +0100 Subject: [PATCH] python: Made htp properly buildable from installed library. --- python/htp.c | 4 ++-- python/setup.py | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) 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", -- 2.11.0