only use the linux soname on linux
authorMatthew Leibowitz <mattleibow@live.com>
Tue, 13 Mar 2018 02:44:51 +0000 (04:44 +0200)
committerMatthew Leibowitz <mattleibow@live.com>
Tue, 13 Mar 2018 02:44:51 +0000 (04:44 +0200)
gn/BUILD.gn

index 559aead..ec9d77f 100644 (file)
@@ -698,7 +698,7 @@ toolchain("gcc_like") {
 
   tool("solink") {
     soname = "{{target_output_name}}{{output_extension}}"
-    if (linux_soname_version != "") {
+    if (is_linux && linux_soname_version != "") {
       soname += ".$linux_soname_version"
     }