Remove oddly named libraries with "make uninstall-local"
authorTim Northover <tnorthover@apple.com>
Tue, 6 Aug 2013 12:50:45 +0000 (12:50 +0000)
committerTim Northover <tnorthover@apple.com>
Tue, 6 Aug 2013 12:50:45 +0000 (12:50 +0000)
Patch by Edward-san.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187793 91177308-0d34-0410-b5e6-96231b3b80d8

Makefile.rules

index 735cbacdcbf3a51d5afda3845c271138a00fe202..32b1ebcbf0525dbab780f12179e5284650d6e699 100644 (file)
@@ -1185,7 +1185,7 @@ $(DestSharedLib): $(LibName.SO) $(DestSharedLibDir)
 
 uninstall-local::
        $(Echo) Uninstalling $(BuildMode) Shared Library $(DestSharedLib)
-       -$(Verb) $(RM) -f $(DestSharedLibDir)/$(SharedPrefix)$(LIBRARYNAME).*
+       -$(Verb) $(RM) -f $(DestSharedLib)
 endif
 endif