[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gpsd-dev
Subject:    Re: [Gpsd-dev] [PATCH] Don't lose the RPATH when building gpsd.
From:       Eric Raymond <esr () thyrsus ! com>
Date:       2011-04-07 20:14:21
Message-ID: 20110407201421.GA28654 () thyrsus ! com
[Download RAW message or body]

Beat Bolli <bbolli@ewanet.ch>:
> ---
>  SConstruct |    8 +++++---
>  1 files changed, 5 insertions(+), 3 deletions(-)
> 
> diff --git a/SConstruct b/SConstruct
> index cde51ed..c7bfb43 100644
> --- a/SConstruct
> +++ b/SConstruct
> @@ -519,9 +519,11 @@ gpsmon_sources = [
>      ]
>  
>  ## Production programs
> -gpsd = env.Program('gpsd', gpsd_sources,
> -                   LINKFLAGS = "-pthread",
> -                   LIBS = gpsdlibs + rtlibs + dbus_xmit_libs)
> +# Don't lose the RPATH when building gpsd
> +gpsd_env = env.Clone()
> +gpsd_env.MergeFlags("-pthread")
> +gpsd = gpsd_env.Program('gpsd', gpsd_sources,
> +                        LIBS = gpsdlibs + rtlibs + dbus_xmit_libs)
>  gpsdecode = env.Program('gpsdecode', ['gpsdecode.c'], LIBS=gpsdlibs+rtlibs)
>  gpsctl = env.Program('gpsctl', ['gpsctl.c'], LIBS=gpsdlibs+rtlibs)
>  gpsmon = env.Program('gpsmon', gpsmon_sources, LIBS=gpsdlibs + ncurseslibs)
> -- 
> 1.7.4.1

Merged, and it's working here with that change.  I'll push it to the public 
repository.
-- 
		<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>
_______________________________________________
Gpsd-dev mailing list
Gpsd-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/gpsd-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic