TBR: mojo/shared: Fixing the build target so we don't enup with
a stale lib.
Thanks to @jasmesr for debugging this.
Change-Id: I660e21444a9cdc7bf3a74cd2e2c208c917c34f3e
diff --git a/mojo.mk b/mojo.mk
index f5cae37..f0cd518 100644
--- a/mojo.mk
+++ b/mojo.mk
@@ -68,7 +68,7 @@
endef
# Builds the library that Mojo services must be linked with.
-$(MOJO_SHARED_LIB): | mojo-env-check
+$(MOJO_SHARED_LIB): $(MOJO_BUILD_DIR)/obj/mojo/public/platform/native/system.system_thunks.o | mojo-env-check
mkdir -p $(dir $@)
ar rcs $@ $(MOJO_BUILD_DIR)/obj/mojo/public/platform/native/system.system_thunks.o