blob: 086c0926651b68b918a64462bf208ed526805669 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
From cd8787999bf4c4b89601f6338ce765ea6229232c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
Date: Thu, 1 Oct 2015 18:49:26 +0200
Subject: [PATCH] Use shared library when linking Python extensions
---
miniupnpc/setup.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/miniupnpc/setup.py b/miniupnpc/setup.py
index 049f670..2533ed4 100644
--- a/setup.py
+++ b/setup.py
@@ -19,6 +19,6 @@ setup(name="miniupnpc",
description='miniUPnP client',
ext_modules=[
Extension(name="miniupnpc", sources=["miniupnpcmodule.c"],
- extra_objects=["libminiupnpc.a"])
+ libraries=["miniupnpc"])
])
--
2.6.0
|