Commit 5e966d00 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

python: Fix out-of-tree builds failure

parent 1c743129
...@@ -22,8 +22,7 @@ ...@@ -22,8 +22,7 @@
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
from setuptools import setup, Extension from setuptools import setup, Extension
from Cython.Build import cythonize
LIBS = ['nghttp2'] LIBS = ['nghttp2']
setup( setup(
...@@ -34,13 +33,13 @@ setup( ...@@ -34,13 +33,13 @@ setup(
author_email = 'tatsuhiro.t@gmail.com', author_email = 'tatsuhiro.t@gmail.com',
url = 'https://nghttp2.org/', url = 'https://nghttp2.org/',
keywords = [], keywords = [],
ext_modules = cythonize([Extension("nghttp2", ext_modules = [Extension("nghttp2",
["nghttp2.pyx"], ["nghttp2.c"],
include_dirs=['@top_srcdir@/lib', include_dirs=['@top_srcdir@/lib',
'@top_srcdir@/lib/includes', '@top_srcdir@/lib/includes',
'@top_builddir@/lib/includes'], '@top_builddir@/lib/includes'],
library_dirs=['@top_builddir@/lib/.libs', library_dirs=['@top_builddir@/lib/.libs',
'@top_builddir@'], '@top_builddir@'],
libraries=LIBS)]), libraries=LIBS)],
long_description='TBD' long_description='TBD'
) )
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment