blob: a02c82e208c1cf6c26a1dfcee70f27378d7071b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
diff --git a/setup.py b/setup.py
index 9aada5a..71d0d34 100644
--- a/setup.py
+++ b/setup.py
@@ -42,7 +42,7 @@ class config_pcap(config.config):
dirs = [ '/usr', sys.prefix ] + glob.glob('/opt/libpcap*') + \
glob.glob('../libpcap*') + glob.glob('../wpdpack*')
for d in dirs:
- for sd in ('include', 'include/pcap', ''):
+ for sd in ('include/pcap', 'include', ''):
incdirs = [ os.path.join(d, sd) ]
if os.path.exists(os.path.join(d, sd, 'pcap.h')):
cfg['include_dirs'] = [ os.path.join(d, sd) ]
|