Openembedded Devel Discussions
 help / color / mirror / Atom feed
* [PATCH] gpsd: Fix build when static libs disabled
@ 2016-02-26 10:02 Maxin B. John
  0 siblings, 0 replies; 2+ messages in thread
From: Maxin B. John @ 2016-02-26 10:02 UTC (permalink / raw)
  To: openembedded-devel

Fix this build error:
SCons Error: no such option: --disable-static

Signed-off-by: Maxin B. John <maxin.john@intel.com>
---
 meta-oe/recipes-navigation/gpsd/gpsd_3.14.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-navigation/gpsd/gpsd_3.14.bb b/meta-oe/recipes-navigation/gpsd/gpsd_3.14.bb
index ff268b3..a300595 100644
--- a/meta-oe/recipes-navigation/gpsd/gpsd_3.14.bb
+++ b/meta-oe/recipes-navigation/gpsd/gpsd_3.14.bb
@@ -47,6 +47,7 @@ EXTRA_OESCONS = " \
     systemd='${SYSTEMD_OESCONS}' \
     ${EXTRA_OECONF} \
 "
+DISABLE_STATIC = ""
 # this cannot be used, because then chrpath is not found and only static lib is built
 # target=${HOST_SYS}
 
-- 
2.4.0



^ permalink raw reply related	[flat|nested] 2+ messages in thread
* [PATCH] gpsd: Fix build when static libs disabled‏
@ 2016-03-01  8:12 Chris Trobridge
  2016-03-01  4:14 ` [PATCH] gpsd: Fix build when static libs disabled Maxin B. John
  0 siblings, 1 reply; 2+ messages in thread
From: Chris Trobridge @ 2016-03-01  8:12 UTC (permalink / raw)
  To: openembedded-devel@lists.openembedded.org



[oe] [PATCH] gpsd: Fix build when static libs disabled

Chris Trobridge  07:58 
To: openembedded-core@lists.openembedded.org

http://lists.openembedded.org/pipermail/openembedded-devel/2016-February/106230.html

> Fix this build error:
> SCons Error: no such option: --disable-static
> Signed-off-by: Maxin B. John <maxin.john at intel.com>
> ---
>  meta-oe/recipes-navigation/gpsd/gpsd_3.14.bb | 1 +
>  1 file changed, 1 insertion(+)
> diff --git a/meta-oe/recipes-navigation/gpsd/gpsd_3.14.bb b/meta-oe/recipes-navigation/gpsd/gpsd_3.14.bb
> index ff268b3..a300595 100644
> --- a/meta-oe/recipes-navigation/gpsd/gpsd_3.14.bb
> +++ b/meta-oe/recipes-navigation/gpsd/gpsd_3.14.bb
> @@ -47,6 +47,7 @@ EXTRA_OESCONS = " \
>      systemd='${SYSTEMD_OESCONS}' \
>      ${EXTRA_OECONF} \
>  "
> +DISABLE_STATIC = ""
>  & this cannot be used, because then chrpath is not found and only static lib is built
>  & target=${HOST_SYS}
>  
> -- 
> 2.4.0

While this fixes the build, is it just fixing the symptom?

I have a patch that copies the fix in:

http://lists.openembedded.org/pipermail/openembedded-devel/2016-February/106251.html

That is: use EXTRA_CONF_PACKAGECONFIG instead of EXTRA_OECONF, as mentioned the above diff.

This prevents the option being pulled in in the first place, which ought to be a more general solution.

Regards,
Chris

 		 	   		  

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-03-01  9:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-26 10:02 [PATCH] gpsd: Fix build when static libs disabled Maxin B. John
  -- strict thread matches above, loose matches on Subject: below --
2016-03-01  8:12 [PATCH] gpsd: Fix build when static libs disabled‏ Chris Trobridge
2016-03-01  4:14 ` [PATCH] gpsd: Fix build when static libs disabled Maxin B. John

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox