Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 247145
Collapse All | Expand All

(-)a/setup.py (-1 / +1 lines)
Lines 42-48 class config_pcap(config.config): Link Here
42
            dirs = [ '/usr', sys.prefix ] + glob.glob('/opt/libpcap*') + \
42
            dirs = [ '/usr', sys.prefix ] + glob.glob('/opt/libpcap*') + \
43
                   glob.glob('../libpcap*') + glob.glob('../wpdpack*')
43
                   glob.glob('../libpcap*') + glob.glob('../wpdpack*')
44
        for d in dirs:
44
        for d in dirs:
45
            for sd in ('include', 'include/pcap', ''):
45
            for sd in ('include/pcap', 'include', ''):
46
                incdirs = [ os.path.join(d, sd) ]
46
                incdirs = [ os.path.join(d, sd) ]
47
                if os.path.exists(os.path.join(d, sd, 'pcap.h')):
47
                if os.path.exists(os.path.join(d, sd, 'pcap.h')):
48
                    cfg['include_dirs'] = [ os.path.join(d, sd) ]
48
                    cfg['include_dirs'] = [ os.path.join(d, sd) ]

Return to bug 247145