summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2012-01-10 18:34:08 -0500
committerEric S. Raymond <esr@thyrsus.com>2012-01-10 18:34:08 -0500
commit4be8f34563c74b5bf28ca9dcacb9157a03561c9a (patch)
treec2adff02ef4fff6955b4bbd30f4cd65118d2753a /SConstruct
parent1d85ae7aad26ed225cce380f06b8fd79139c47b5 (diff)
downloadgpsd-4be8f34563c74b5bf28ca9dcacb9157a03561c9a.tar.gz
Arch linux doesn't have implicit linking.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct5
1 files changed, 4 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index 248b7f78..587b6679 100644
--- a/SConstruct
+++ b/SConstruct
@@ -85,6 +85,8 @@ if sys.platform.startswith('linux'):
if int(version) >= 13:
# See https://fedoraproject.org/wiki/Features/ChangeInImplicitDSOLinking
imloads = False
+ elif os.path.exists("/etc/arch-release"):
+ imloads = False
boolopts = (
# GPS protocols
@@ -821,7 +823,8 @@ gpsmon_sources = [
# know how to force it when linking staticly.
#
# It turns out there are two cases where we need to force this. Some
-# distributions don't do implicit linking by design:
+# distributions don't do implicit linking by design. See the test
+# code for implicit_link.
#
if not env['shared'] or not env["implicit_link"]:
env.MergeFlags("-lm")