Condition codes AL and NV are invalid in the aliases that use
[oota-llvm.git] / Makefile.rules
index 5273e44ee0e66a5f375548495e79f96d839c5f8f..941797107c7849ddf76efca0e97dcbca8306f74c 100644 (file)
@@ -1238,7 +1238,7 @@ $(DestSharedLib): $(LibName.SO) $(DestSharedLibDir)
        $(Verb) $(INSTALL) $(LibName.SO) $(DestSharedLib)
 ifdef SHARED_ALIAS
        $(Echo) Creating alias from $(DestSharedLib) to $(DestSharedAlias)
-       $(Verb) $(AliasTool) $(DestSharedLib) $(DestSharedAlias)
+       $(Verb) $(AliasTool) $(BaseLibName.SO) $(DestSharedAlias)
 endif
 
 uninstall-local::