[oe] [meta-oe] [PATCH] nodejs needs python-native

Gary Thomas gary at mlbassoc.com
Tue May 20 19:56:55 UTC 2014


On 2014-05-20 13:28, Khem Raj wrote:
> On Tue, May 20, 2014 at 12:03 PM, Amy Fong <amy.fong at windriver.com> wrote:
>> -DEPENDS = "openssl"
>> +DEPENDS = "openssl python-native"
>>
>
> may be it should inherit pythonnative
>
>>   SRC_URI = "http://nodejs.org/dist/v${PV}/node-v${PV}.tar.gz \
>>              file://0001-gcc-has-a-builtin-define-to-denote-hard-abi-when-in-.patch \
>> @@ -28,6 +28,7 @@ do_configure () {
>>
>>   do_compile () {
>>       export LD="${CXX}"
>> +    export PATH=${STAGING_BINDIR_NATIVE}/python-native:$PATH

If you inherit pythonnative, this 'export PATH...' is also not necessary

>>       make BUILDTYPE=Release
>>   }
>>
>> @@ -40,3 +41,5 @@ RDEPENDS_${PN}_class-native = ""
>>
>>   FILES_${PN} += "${libdir}/node/wafadmin ${libdir}/node_modules ${libdir}/dtrace"
>>   BBCLASSEXTEND = "native"
>> +
>> +FILES_${PN} += "/usr/lib/*"
>
> make it ${libdir}/* here
>

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



More information about the Openembedded-devel mailing list