libdnet-002-python-makefile.patch 515 B

12345678910111213141516
  1. ---
  2. python/Makefile.am | 1 +
  3. 1 file changed, 1 insertion(+)
  4. Index: libdnet-1.11/python/Makefile.am
  5. ===================================================================
  6. --- libdnet-1.11.orig/python/Makefile.am
  7. +++ libdnet-1.11/python/Makefile.am
  8. @@ -11,6 +11,7 @@
  9. pyrexc $(srcdir)/dnet.pyx
  10. python-build: $(srcdir)/dnet.c
  11. + CC="$(CC)" LDSHARED="$(CC) -shared" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" $(PYTHON) setup.py build_ext -I$(PYINCDIR) -L$(PYLIBDIR)
  12. $(PYTHON) setup.py build
  13. touch python-build