summaryrefslogtreecommitdiff
path: root/dev-python/libnatpmp/files/link-against-system-lib.patch
blob: cdb64a9ce12b35aeaaf6836a73176adcacc12a74 (plain)
1
2
3
4
5
6
7
8
9
10
11
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)]
         )]
      )