From b68fd73042d50aa85b8843fee2a9cbe09322d741 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 11 Apr 2014 11:35:19 -0400 Subject: [PATCH] split servo build into library (non-android) for use in embedding --- Makefile.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile.in b/Makefile.in index 21b5e1d15c1..de75507a6e1 100644 --- a/Makefile.in +++ b/Makefile.in @@ -341,6 +341,12 @@ ifneq ($(CFG_OSTYPE),linux-androideabi) servo: $(DEPS_servo) @$(call E, compile: $@) $(Q)$(RUSTC) $(RFLAGS_servo) -o $@ $< + +libservo.dummy: $(DEPS_servo) + @$(call E, compile: $@) + $(Q)$(RUSTC) $(RFLAGS_servo) $< --crate-type dylib,rlib + touch libservo.dummy + else servo: $(DEPS_servo) @$(call E, compile: $@)