X-Git-Url: https://git.distorted.org.uk/~mdw/cfd/blobdiff_plain/6f9cf5797c442bf17bb814743a57a695759842cc..9429175415841de9e19e0caf04ba4bed4c3a4989:/mdwsetup.py diff --git a/mdwsetup.py b/mdwsetup.py index 45772fb..322e194 100644 --- a/mdwsetup.py +++ b/mdwsetup.py @@ -106,12 +106,12 @@ def pkg_config(pkg, version): for word in progoutput(['pkg-config', '--cflags', spec]).split(): if word.startswith('-I'): INCLUDEDIRS.append(word[2:]) - else: weird('--cflags', word) + else: weird('CFLAGS', word) for word in progoutput(['pkg-config', '--libs', spec]).split(): if word.startswith('-L'): LIBDIRS.append(word[2:]) elif word.startswith('-l'): LIBS.append(word[2:]) - else: weird('--libs', word) + else: weird('LIBS', word) ###-------------------------------------------------------------------------- ### Substituting variables in files.