llvm/clang-soname.patch

12 lines
561 B
Diff
Raw Normal View History

2014-06-10 16:30:44 +11:00
--- tools/libclang/Makefile.orig 2013-11-24 12:16:59.090803758 +0100
+++ tools/libclang/Makefile 2013-11-24 12:18:08.983807239 +0100
@@ -30,7 +30,7 @@ include $(CLANG_LEVEL)/Makefile
2012-09-17 16:19:26 +04:00
# Add soname to the library.
2014-06-10 16:30:44 +11:00
ifeq ($(HOST_OS), $(filter $(HOST_OS), Linux FreeBSD GNU GNU/kFreeBSD))
- LLVMLibsOptions += -Wl,-soname,lib$(LIBRARYNAME)$(SHLIBEXT)
+ LLVMLibsOptions += -Wl,-soname,lib$(LIBRARYNAME)-$(LLVM_VERSION_MAJOR).$(LLVM_VERSION_MINOR)$(SHLIBEXT)
2012-09-17 16:19:26 +04:00
endif
##===----------------------------------------------------------------------===##