summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorFred Wright <fw@fwright.net>2016-03-06 17:19:21 -0800
committerJon Schlueter <jon.schlueter@gmail.com>2016-03-07 06:17:56 -0500
commit6fc736ee17ae91dfb47e019e9aaa1d45ace96b0e (patch)
tree9f3bed9a282f236415147943729d454c1b56b84f /SConstruct
parent4ac75f554e30346de0eafa4e52cd6bb81eb06773 (diff)
downloadgpsd-6fc736ee17ae91dfb47e019e9aaa1d45ace96b0e.tar.gz
Fixes install breakage from commit 79800e8.
If the list of .pc files had been a list rather than a tuple, the change would have worked. But since it was a tuple, reducing it to one item without including the comma as a "tuple flag" turned the parens into simple parens, causing the "for" to iterate over the characters of the single string instead of the strings. Removing the now-superfluous tuple and iteration fixes it. TESTED: Verified that the previously failing install on Ubuntu works with this fix. Signed-off-by: Jon Schlueter <jon.schlueter@gmail.com>
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct2
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index edad986d..62953b3c 100644
--- a/SConstruct
+++ b/SConstruct
@@ -1414,7 +1414,7 @@ else:
python_progs_install,
python_egg_info_install]
-pc_install = [env.Install(installdir('pkgconfig'), x) for x in ("libgps.pc")]
+pc_install = [env.Install(installdir('pkgconfig'), 'libgps.pc')]
if qt_env:
pc_install.append(qt_env.Install(installdir('pkgconfig'), 'Qgpsmm.pc'))
pc_install.append(qt_env.Install(installdir('libdir'), 'libQgpsmm.prl'))