--- tools/clang/tools/libclang/Makefile.orig 2014-07-16 16:48:33 UTC +++ tools/clang/tools/libclang/Makefile @@ -33,7 +33,7 @@ USEDLIBS = clangIndex.a clangARCMigrate. include $(CLANG_LEVEL)/Makefile # Add soname to the library. -ifeq ($(HOST_OS), $(filter $(HOST_OS), Linux FreeBSD GNU GNU/kFreeBSD)) +ifeq ($(HOST_OS), $(filter $(HOST_OS), Linux BSDSUniX FreeBSD GNU GNU/kFreeBSD)) LLVMLibsOptions += -Wl,-soname,lib$(LIBRARYNAME)$(SHLIBEXT) endif