don't use soname on OpenBSD, it doesn't support it. Patch by

Brad Smith!

llvm-svn: 155534
This commit is contained in:
Chris Lattner 2012-04-25 06:09:30 +00:00
parent eeb9e5810a
commit 7073c47dc4
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ USEDLIBS = clangARCMigrate.a clangRewrite.a clangFrontend.a clangDriver.a \
include $(CLANG_LEVEL)/Makefile
# Add soname to the library.
ifeq ($(HOST_OS), $(filter $(HOST_OS), Linux FreeBSD OpenBSD GNU))
ifeq ($(HOST_OS), $(filter $(HOST_OS), Linux FreeBSD GNU))
LDFLAGS += -Wl,-soname,lib$(LIBRARYNAME)$(SHLIBEXT)
endif