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 () {