summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2013-09-15 10:58:18 -0400
committerEric S. Raymond <esr@thyrsus.com>2013-09-15 10:58:53 -0400
commit205add74159c5056972932e31ce873e73477dcc8 (patch)
treec41fd139b82dca779888368b0b2385e61e736f43 /SConstruct
parent7fcba51518353b132796d7712060a298c137bd82 (diff)
downloadgpsd-205add74159c5056972932e31ce873e73477dcc8.tar.gz
Explain the static library better.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct8
1 files changed, 7 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index bd231ed7..1814346a 100644
--- a/SConstruct
+++ b/SConstruct
@@ -906,8 +906,14 @@ if qt_env:
gpslibs = ["-lgps", "-lm"]
gpsdlibs = ["-lgpsd"] + usblibs + bluezlibs + gpslibs + caplibs
+
# We need to be able to make a static client library for ad-hoc testing.
-# (None of the normal targets relies on this.) You can use this
+# Without this, we can't run regression tests in the build directory
+# without either (a) having installed the GPSD shared libraries in system
+# space (which requires root) or (b) having either '.' or an absolute
+# path in the shared library load path (which is a security hole).
+#
+# None of the normal targets relies on this library. You can use it
# with a build command like
#
# g++ --static streamtest.cpp libgps.a -lrt -o streamtest