Author: Michal Vyskocil <[email protected]>
Branch: 
Changeset: r3198:428261c7ae2c
Date: 2019-01-08 19:58 +0100
http://bitbucket.org/cffi/cffi/changeset/428261c7ae2c/

Log:    fix encoding of `--libs-only-l` it's about file system names

diff --git a/cffi/pkgconfig.py b/cffi/pkgconfig.py
--- a/cffi/pkgconfig.py
+++ b/cffi/pkgconfig.py
@@ -73,7 +73,7 @@
         return {
                 "include_dirs" : dropILl(call(libname, 
"--cflags-only-I").decode(fse)),
                 "library_dirs" : dropILl(call(libname, 
"--libs-only-L").decode(fse)),
-                "libraries" : dropILl(call(libname, 
"--libs-only-l").decode('ascii')),
+                "libraries" : dropILl(call(libname, 
"--libs-only-l").decode(fse)),
                 "define_macros" : macros(call(libname, 
"--cflags-only-other").decode('ascii')),
                 "extra_compile_args" : drop_macros(call(libname, 
"--cflags-only-other").decode('ascii')),
                 "extra_link_args" : call(libname, 
"--libs-only-other").decode('ascii').split()
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to