]>
Commit | Line | Data |
---|---|---|
d96c1154 JB |
1 | --- gpsd-3.8/SConstruct.orig 2013-03-01 18:51:51.019185370 +0100 |
2 | +++ gpsd-3.8/SConstruct 2013-03-01 19:07:33.045812503 +0100 | |
b7bddaef JB |
3 | @@ -287,8 +287,6 @@ |
4 | # Honor the specified installation prefix in link paths. | |
5 | if env["sysroot"]: | |
6 | env.Prepend(LIBPATH=[env["sysroot"] + installdir('libdir', add_destdir=False)]) | |
d96c1154 JB |
7 | -if env["shared"]: |
8 | - env.Prepend(RPATH=[installdir('libdir')]) | |
9 | ||
10 | # Give deheader a way to set compiler flags | |
11 | if 'MORECFLAGS' in os.environ: | |
12 | @@ -842,7 +840,8 @@ | |
52d28086 JB |
13 | target="gpsd", |
14 | sources=libgpsd_sources, | |
d96c1154 JB |
15 | version=libgpsd_version, |
16 | - parse_flags=usblibs + rtlibs + bluezlibs) | |
17 | + parse_flags=usblibs + rtlibs + bluezlibs + ["-L.", "-lgps", "-lm"]) | |
5a6e6b53 | 18 | +env.Depends(compiled_gpsdlib, compiled_gpslib) |
fe2d2d8e | 19 | |
52d28086 JB |
20 | libraries = [compiled_gpslib, compiled_gpsdlib] |
21 | ||
b7bddaef JB |
22 | @@ -976,7 +976,7 @@ |
23 | # linking | |
24 | # The final executable will build but not be portable. | |
25 | ||
26 | -env.StaticLibrary(target = 'libgps.a', source = libgps_sources) | |
27 | +env.StaticLibrary(target = 'libgps.a', source = libgps_sources, parse_flags = dbus_libs) | |
28 | ||
29 | # Source groups | |
d96c1154 | 30 |