summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-04-12 09:14:26 -0400
committerEric S. Raymond <esr@thyrsus.com>2011-04-12 09:14:26 -0400
commita1a5fd50f0cb477ee498539f99a4b31aa82cb455 (patch)
treec3ba336bcb5b1f5df6bb40b1565ec3c972a11163 /SConstruct
parentc34e979d94bd9c640b841e44952ce4d2bbb25011 (diff)
downloadgpsd-a1a5fd50f0cb477ee498539f99a4b31aa82cb455.tar.gz
Correct the computation of a file stem name.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct2
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index 38de75d7..7f7911b0 100644
--- a/SConstruct
+++ b/SConstruct
@@ -510,7 +510,7 @@ if qtlibs:
else:
compile_with = qt_env['CC']
compile_flags = qt_env['CFLAGS']
- qtobjects.append(qt_env.SharedObject(src[:-2] + '-qt', src,
+ qtobjects.append(qt_env.SharedObject(src.split(".")[0] + '-qt', src,
CC=compile_with, CFLAGS=compile_flags))
compiled_qgpsmmlib = qt_env.SharedLibrary(target="Qgpsmm"+libversion,
source=qtobjects,