[sdk] Fix the name of prebuilt static libraries too.

ZX-2030

Change-Id: I9d9a5370bd2715e307756d58ac821bb4d7f299a6
diff --git a/zircon/create_gn_rules.py b/zircon/create_gn_rules.py
index 10ca8ec..5ba6fdb 100755
--- a/zircon/create_gn_rules.py
+++ b/zircon/create_gn_rules.py
@@ -207,7 +207,7 @@
         (name, path) = libs.items()[0]
         (file, _) = extract_file(name, path, context)
         data.prebuilt = '//%s' % file
-        data.lib_name = os.path.basename(file)
+        data.lib_name = os.path.basename(name)
     # TODO(jamesr): Delete the == 2 path once Zircon rolls up through all layers
     elif len(libs) == 2 or len(libs) == 3:
         # Shared library.