chiark
/
gitweb
/
~mdw
/
cfd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6f9cf57
)
mdwsetup.py (pkg_config): Change the token shown in error reports.
author
Mark Wooding
<mdw@distorted.org.uk>
Tue, 1 Oct 2019 21:57:13 +0000
(22:57 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Fri, 8 May 2020 11:30:13 +0000
(12:30 +0100)
mdwsetup.py
patch
|
blob
|
blame
|
history
diff --git
a/mdwsetup.py
b/mdwsetup.py
index 45772fb6f3a70a7ecff1040501747973f650a62a..322e194b6614de559c1d3037c811e419fe292302 100644
(file)
--- 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:])
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:])
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.
###--------------------------------------------------------------------------
### Substituting variables in files.