From 9479c1b42afd9621ae8e1992a0762aede6c88b5e Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Thu, 12 Jan 2012 21:04:54 +0000 Subject: [PATCH] Add a SONAME to the libclang library. Patch by Sylvestre Ledru. llvm-svn: 148045 --- clang/tools/libclang/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clang/tools/libclang/Makefile b/clang/tools/libclang/Makefile index 375f7f20fe00..8c1e6fa2d3ae 100644 --- a/clang/tools/libclang/Makefile +++ b/clang/tools/libclang/Makefile @@ -15,6 +15,8 @@ EXPORTED_SYMBOL_FILE = $(PROJ_SRC_DIR)/libclang.exports LINK_LIBS_IN_SHARED = 1 SHARED_LIBRARY = 1 +LDFLAGS+= -Wl,-soname,libclang.so.1 + LINK_COMPONENTS := support mc USEDLIBS = clangARCMigrate.a clangRewrite.a clangFrontend.a clangDriver.a \ clangSerialization.a \