[OE-core] [PATCH] gdbm-native: disable readline for the native package.

Jeremy A. Puhlman jpuhlman at mvista.com
Thu Mar 5 00:18:25 UTC 2020



On 3/4/2020 4:16 PM, Andre McCurdy wrote:
> On Wed, Mar 4, 2020 at 4:05 PM Jeremy A. Puhlman <jpuhlman at mvista.com> wrote:
>> From: Jeremy Puhlman <jpuhlman at mvista.com>
>>
>> ---
>>   meta/recipes-support/gdbm/gdbm_1.18.1.bb | 2 ++
>>   1 file changed, 2 insertions(+)
>>
>> diff --git a/meta/recipes-support/gdbm/gdbm_1.18.1.bb b/meta/recipes-support/gdbm/gdbm_1.18.1.bb
>> index 5326184181..52e35c8c2e 100644
>> --- a/meta/recipes-support/gdbm/gdbm_1.18.1.bb
>> +++ b/meta/recipes-support/gdbm/gdbm_1.18.1.bb
>> @@ -20,6 +20,8 @@ DEPENDS_class-native += "readline"
>>   # Needed for dbm python module
>>   EXTRA_OECONF = "-enable-libgdbm-compat"
>>
>> +EXTRA_OECONF_class-native = "--without-readline"
> Assuming the target version is being built without readline support
> (presumably that's true as the recipe doesn't indicate any dependency
> on readline, but you should double check) then this configure option
> should be passed in all cases, not just for native.
There is not explicit dependency which is why we are here in the first 
place for native.
>
>>   # Stop presence of dbm/nbdm on the host contaminating builds
>>   CACHED_CONFIGUREVARS += "ac_cv_lib_ndbm_main=no ac_cv_lib_dbm_main=no"
>>
>> --
>> 2.20.1
>>
>> --
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core at lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core

-- 
Jeremy A. Puhlman
jpuhlman at mvista.com



More information about the Openembedded-core mailing list