Properly export toolchain static libs

Change-Id: I7fd5308469aee5a43d576d1a72f7738dc6f9fbaa
diff --git a/cc/androidmk.go b/cc/androidmk.go
index 7ae960a..3467e69 100644
--- a/cc/androidmk.go
+++ b/cc/androidmk.go
@@ -115,6 +115,18 @@
 	}
 }
 
+func (library *toolchainLibraryLinker) AndroidMk(ret *common.AndroidMkData) {
+	library.baseLinker.AndroidMk(ret)
+
+	ret.Extra = append(ret.Extra, func(w io.Writer, outputFile common.Path) error {
+		fmt.Fprintln(w, "LOCAL_MODULE_SUFFIX := "+outputFile.Ext())
+		fmt.Fprintln(w, "LOCAL_CXX_STL := none")
+		fmt.Fprintln(w, "LOCAL_SYSTEM_SHARED_LIBRARIES :=")
+
+		return nil
+	})
+}
+
 func (installer *baseInstaller) AndroidMk(ret *common.AndroidMkData) {
 	ret.Extra = append(ret.Extra, func(w io.Writer, outputFile common.Path) error {
 		path := installer.path.RelPathString()