--- mklibs.old	Mon May 24 14:05:04 2004
+++ mklibs	Mon May 24 15:04:08 2004
@@ -555,7 +555,7 @@ for lib in regexpfilter(os.listdir(dest_
 ld_file = find_lib(ldlib)
 ld_file_name = os.path.basename(ld_file)
 
-if not os.access(dest_path + "/" + lib, os.F_OK):
+if not os.access(dest_path + "/" + ld_file_name, os.F_OK):
     command(target + "objcopy", "--strip-unneeded -R .note -R .comment",
             ld_file, dest_path + "/" + ld_file_name)
 
