mirror of
https://github.com/openwrt/packages.git
synced 2025-12-19 17:11:21 +00:00
python-pcapy: Add uclibc++ support
Reduces space required on the target device. Added patch to get rid of the explicit libstdcpp dependency. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
13
lang/python/python-pcapy/patches/010-libcxx.patch
Normal file
13
lang/python/python-pcapy/patches/010-libcxx.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
diff --git a/setup.py b/setup.py
|
||||
index 4da69bc..165059b 100644
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -28,7 +28,7 @@ if sys.platform == 'win32':
|
||||
library_dirs.append(r'c:\wpdpack\Lib')
|
||||
libraries = ['wpcap', 'packet', 'ws2_32']
|
||||
else:
|
||||
- libraries = ['pcap', 'stdc++']
|
||||
+ libraries = ['pcap']
|
||||
|
||||
|
||||
# end of user configurable parameters
|
||||
Reference in New Issue
Block a user