From 84bacaaf21efc6bd681a401feb6206e4c6b7fbbf Mon Sep 17 00:00:00 2001 From: Tyler Hall Date: Thu, 25 Jun 2015 17:59:21 -0400 Subject: [PATCH] time-rs: compile native helper C code --- recipes-core/time/time-rs_0.1.26.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/recipes-core/time/time-rs_0.1.26.bb b/recipes-core/time/time-rs_0.1.26.bb index 40c9a64..76ca2f5 100644 --- a/recipes-core/time/time-rs_0.1.26.bb +++ b/recipes-core/time/time-rs_0.1.26.bb @@ -15,7 +15,10 @@ SRCREV = "32b212b877b836dbfdc97af5674d91672e70ecbd" S = "${WORKDIR}/git" do_compile () { - oe_compile_rust_lib + rm -rf time_helpers.o libtimehelpers.a + ${CC} ${S}/src/time_helpers.c -fPIC -c -o time_helpers.o + ${AR} rcs libtime_helpers.a time_helpers.o + oe_compile_rust_lib -L native=$PWD -l static=time_helpers } do_install () {