Simplify libtool compatibility hack.
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 7 Feb 2018 00:13:01 +0000 (00:13 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 7 Feb 2018 00:13:01 +0000 (00:13 +0000)
commit16a3716db49bdba3b5dfe9061c358e8d10a2a287
tree3cbcf9c6e34a98a14cc937f250860f043d2db56c
parent58ecffd857a9f998904b8b6d69348cbe5fa85c47
Simplify libtool compatibility hack.

I tested that if I remove "elf" from the message, building a program
that uses libtool prints

checking whether to build shared libraries... no

but with this patch it still prints

checking whether to build shared libraries... yes

llvm-svn: 324428
lld/ELF/DriverUtils.cpp