package/libxslt: fix static build
[buildroot-gz.git] / package / libdnet / 0002-python-makefile.patch
blobfb41e43e351107dfe6e8dbc24e50da7762f827b9
1 ---
2 python/Makefile.am | 1 +
3 1 file changed, 1 insertion(+)
5 Index: libdnet-1.11/python/Makefile.am
6 ===================================================================
7 --- libdnet-1.11.orig/python/Makefile.am
8 +++ libdnet-1.11/python/Makefile.am
9 @@ -11,6 +11,7 @@
10 pyrexc $(srcdir)/dnet.pyx
12 python-build: $(srcdir)/dnet.c
13 + CC="$(CC)" LDSHARED="$(CC) -shared" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" $(PYTHON) setup.py build_ext -I$(PYINCDIR) -L$(PYLIBDIR)
14 $(PYTHON) setup.py build
15 touch python-build