time-rs: compile native helper C code

This commit is contained in:
Tyler Hall
2015-06-25 17:59:21 -04:00
committed by Steven Walter
parent fc0e2f74b3
commit 84bacaaf21
+4 -1
View File
@@ -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 () {