]>
Commit | Line | Data |
---|---|---|
65ea823f JB |
1 | --- pycurl-7.19.0.2/setup.py.orig 2013-10-08 14:28:53.000000000 +0200 |
2 | +++ pycurl-7.19.0.2/setup.py 2013-10-17 17:48:12.440601971 +0200 | |
3 | @@ -101,8 +101,8 @@ | |
4 | # support one or the other of these curl-config options, so gracefully | |
5 | # tolerate failure of either, but not both. | |
6 | optbuf = "" | |
7 | - for option in ["--libs", "--static-libs"]: | |
8 | - p = subprocess.Popen("'%s' %s" % (CURL_CONFIG, option), shell=True, | |
9 | + for option in ["--libs", "--static --libs"]: | |
10 | + p = subprocess.Popen("'%s' %s libcurl" % ('pkg-config', option), shell=True, | |
11 | stdout=subprocess.PIPE) | |
12 | (stdout, stderr) = p.communicate() | |
13 | if p.wait() == 0: |