Skip to content

Commit

Permalink
python: Fix out-of-tree builds failure
Browse files Browse the repository at this point in the history
  • Loading branch information
tatsuhiro-t committed Jul 14, 2015
1 parent 1c74312 commit 5e966d0
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions python/setup.py.in
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

from setuptools import setup, Extension
from Cython.Build import cythonize


LIBS = ['nghttp2']

setup(
Expand All @@ -34,13 +33,13 @@ setup(
author_email = '[email protected]',
url = 'https://nghttp2.org/',
keywords = [],
ext_modules = cythonize([Extension("nghttp2",
["nghttp2.pyx"],
ext_modules = [Extension("nghttp2",
["nghttp2.c"],
include_dirs=['@top_srcdir@/lib',
'@top_srcdir@/lib/includes',
'@top_builddir@/lib/includes'],
library_dirs=['@top_builddir@/lib/.libs',
'@top_builddir@'],
libraries=LIBS)]),
libraries=LIBS)],
long_description='TBD'
)

0 comments on commit 5e966d0

Please sign in to comment.