summaryrefslogtreecommitdiff
path: root/package/libdnet/libdnet-002-python-makefile.patch
diff options
context:
space:
mode:
authorHamish Moffatt <hamish@cloud.net.au>2008-09-04 05:50:31 +0000
committerHamish Moffatt <hamish@cloud.net.au>2008-09-04 05:50:31 +0000
commitadd5629d4af26933bb8f1a22da395f0b3d8cf87d (patch)
tree0d438ea682f884f0a3c9847ac2e1f31b52f46f8b /package/libdnet/libdnet-002-python-makefile.patch
parent87f0d783ff4b5c6e16f84a4f35b28d278718b13e (diff)
New package for dnet, a wrapper library for getting access to kernel network information
and an optional Python module for the same.
Diffstat (limited to 'package/libdnet/libdnet-002-python-makefile.patch')
-rw-r--r--package/libdnet/libdnet-002-python-makefile.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/libdnet/libdnet-002-python-makefile.patch b/package/libdnet/libdnet-002-python-makefile.patch
new file mode 100644
index 000000000..4c8729ddc
--- /dev/null
+++ b/package/libdnet/libdnet-002-python-makefile.patch
@@ -0,0 +1,10 @@
+--- a/python/Makefile.am 2006-01-15 18:08:23.000000000 +1100
++++ b/python/Makefile.am 2008-09-04 15:25:52.000000000 +1000
+@@ -11,6 +11,7 @@
+ pyrexc $(srcdir)/dnet.pyx
+
+ python-build: $(srcdir)/dnet.c
++ CC="$(CC)" LDSHARED="$(CC) -shared" $(PYTHON) setup.py build_ext -I$(PYINCDIR)
+ $(PYTHON) setup.py build
+ touch python-build
+