[OE-core] [PATCH 1/3] gmp: also generate the libgmpcxx library

Phil Blundell philb at gnu.org
Wed Nov 23 10:12:58 UTC 2011


On Tue, 2011-11-22 at 21:55 -0800, nitin.a.kamble at intel.com wrote:
> diff --git a/meta/recipes-support/gmp/gmp.inc b/meta/recipes-support/gmp/gmp.inc
> index 66349e6..10c3b9d 100644
> --- a/meta/recipes-support/gmp/gmp.inc
> +++ b/meta/recipes-support/gmp/gmp.inc
> @@ -14,3 +14,7 @@ ARM_INSTRUCTION_SET = "arm"
>  acpaths = ""
>  
>  BBCLASSEXTEND = "native nativesdk"
> +
> +EXTRA_OECONF += " --enable-cxx=detect"
> +
> +LEAD_SONAME = "libgmp.so"

I think it would be better to put the C++ libraries in a separate
package, otherwise you will waste on-target space for the people who
don't need them (which, presumably, is everyone who was using gmp prior
to your patch).  LEAD_SONAME is almost never a good thing to use.

p.






More information about the Openembedded-core mailing list