diff options
Diffstat (limited to 'cook.py')
| -rwxr-xr-x | cook.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -532,6 +532,8 @@ def CDependency(name): try: inc = subproc([pkgconfig.path, "--cflags", name]).strip().decode("utf-8") lib = subproc([pkgconfig.path, "--libs", name]).strip().decode("utf-8") + inc = inc if inc != "" else [] + lib = lib if lib != "" else [] module.mkdep(shared_ld_args = lib, shared_cc_args = inc) return module except subprocess.CalledProcessError: |
