aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2012-04-25 06:09:30 +0000
committerChris Lattner <sabre@nondot.org>2012-04-25 06:09:30 +0000
commit92f4e6e8f93f6cbb4724cbe05024a153c4ca9374 (patch)
tree0df4cdbce3f916e0479d46ba5976b4df2e0bbbf7
parent3030066ef0a6b291173691ec3388b5f590d06e68 (diff)
don't use soname on OpenBSD, it doesn't support it. Patch by
Brad Smith! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155534 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--tools/libclang/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libclang/Makefile b/tools/libclang/Makefile
index e0187afd92..8d0a614403 100644
--- a/tools/libclang/Makefile
+++ b/tools/libclang/Makefile
@@ -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