summaryrefslogtreecommitdiff
path: root/lang/python/python-pcapy/patches/010-libcxx.patch
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2018-12-26 15:53:31 -0800
committerRosen Penev <rosenp@gmail.com>2018-12-26 15:54:21 -0800
commita0058771939b59a91cf27fd3be481c65f600796f (patch)
treeef24c8af1a7c6a9cfd1c2cc1307b007eea7fe845 /lang/python/python-pcapy/patches/010-libcxx.patch
parent97836d987f87593e24f70bff96709d15c53cb359 (diff)
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>
Diffstat (limited to 'lang/python/python-pcapy/patches/010-libcxx.patch')
-rw-r--r--lang/python/python-pcapy/patches/010-libcxx.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/python/python-pcapy/patches/010-libcxx.patch b/lang/python/python-pcapy/patches/010-libcxx.patch
new file mode 100644
index 000000000..d27dbdd0a
--- /dev/null
+++ b/lang/python/python-pcapy/patches/010-libcxx.patch
@@ -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