summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/libnatpmp/files/link-against-system-lib.patch')
-rw-r--r--dev-python/libnatpmp/files/link-against-system-lib.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-python/libnatpmp/files/link-against-system-lib.patch b/dev-python/libnatpmp/files/link-against-system-lib.patch
new file mode 100644
index 00000000000..cdb64a9ce12
--- /dev/null
+++ b/dev-python/libnatpmp/files/link-against-system-lib.patch
@@ -0,0 +1,12 @@
+diff -Naur libnatpmp-20110715.orig//setup.py libnatpmp-20110715/setup.py
+--- libnatpmp-20110715.orig//setup.py 2009-06-04 17:37:06.000000000 -0400
++++ libnatpmp-20110715/setup.py 2011-08-03 06:55:11.000000000 -0400
+@@ -8,7 +8,7 @@
+ setup(name="libnatpmp", version="1.0",
+ ext_modules=[
+ Extension(name="libnatpmp", sources=["libnatpmpmodule.c"],
+- extra_objects=["libnatpmp.a"],
++ libraries=["natpmp"],
+ define_macros=[('ENABLE_STRNATPMPERR', None)]
+ )]
+ )