From 6072ad4e9b099ab36a4e2d9aa2cc699be43f330f Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Mon, 16 Mar 2015 16:22:04 -0700 Subject: [PATCH] Fix soname -Wl,soname= was missing the .so extension Change-Id: Ide5f2b22f5c37a20463a2314047560e501b95987 --- cc/cc.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cc/cc.go b/cc/cc.go index f64107b33..1c28feae7 100644 --- a/cc/cc.go +++ b/cc/cc.go @@ -824,13 +824,13 @@ func (c *ccLibrary) moduleTypeLdflags(ctx common.AndroidModuleContext, toolchain "-nostdlib", "-Wl,--gc-sections", sharedFlag, - "-Wl,-soname," + libName, + "-Wl,-soname," + libName + sharedLibraryExtension, } } else { return []string{ "-Wl,--gc-sections", sharedFlag, - "-Wl,-soname," + libName, + "-Wl,-soname," + libName + sharedLibraryExtension, } } } else {