mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-14 07:38:00 +00:00
22 lines
876 B
Diff
22 lines
876 B
Diff
Index: llvm-toolchain_3.3~svn176083/clang/tools/libclang/Makefile
|
|
===================================================================
|
|
--- llvm-toolchain_3.3~svn176083.orig/clang/tools/libclang/Makefile 2013-02-13 20:44:17.000000000 +0100
|
|
+++ llvm-toolchain_3.3~svn176083/clang/tools/libclang/Makefile 2013-02-26 14:09:14.000000000 +0100
|
|
@@ -14,6 +14,7 @@
|
|
|
|
LINK_LIBS_IN_SHARED = 1
|
|
SHARED_LIBRARY = 1
|
|
+SONAME_MAJOR=1
|
|
|
|
include $(CLANG_LEVEL)/../../Makefile.config
|
|
LINK_COMPONENTS := $(TARGETS_TO_BUILD) asmparser bitreader support mc
|
|
@@ -30,7 +31,7 @@
|
|
|
|
# Add soname to the library.
|
|
ifeq ($(HOST_OS), $(filter $(HOST_OS), Linux FreeBSD GNU))
|
|
- LDFLAGS += -Wl,-soname,lib$(LIBRARYNAME)$(SHLIBEXT)
|
|
+ LDFLAGS += -Wl,-soname,lib$(LIBRARYNAME)$(SHLIBEXT).$(SONAME_MAJOR)
|
|
endif
|
|
|
|
##===----------------------------------------------------------------------===##
|