diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2013-10-26 13:31:36 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2013-10-26 13:31:36 -0400 |
commit | a7a6fb3f33fa24ba7d538a6be1d4b7f898c72f32 (patch) | |
tree | 6e043947b13e34d0bf0290205bb849dde6b624fa | |
parent | dbcb211376723ca1ed0a87a42dd8a23b388cb7f1 (diff) | |
download | gpsd-a7a6fb3f33fa24ba7d538a6be1d4b7f898c72f32.tar.gz |
Eliminate a really annoying build glitch. All regression tests pass.
If you put -lgps in a link line, it's going to find the static library
first. This is a problem if you're building a shared librar you get
cryptic messages like
relocation R_X86_64_32 against `.rodata.str1.1' can not be used when
making a shared object; recompile with -fPIC
-rw-r--r-- | SConstruct | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -889,7 +889,7 @@ compiled_gpsdlib = Library(env=env, target="gpsd", sources=libgpsd_sources, version=libgpsd_version, - parse_flags=[ "-lm", "-lgps" ] + usblibs + rtlibs + bluezlibs) + parse_flags=[ "-lm"] + usblibs + rtlibs + bluezlibs) libraries = [compiled_gpslib, compiled_gpsdlib] |