forked from OSchip/llvm-project
[libc++][CMake] Do not define `cxx_shared_EXPORTS` when building the shared library
CMake will define -Dcxx_shared_EXPORTS when building the shared library by default. In theory, this is used to signal to the library that we're building a shared library and that dllimport/dllexport should be used. However, we already have our own way of doing that, so I'm removing this define to avoid meaningless command line arguments in the build. llvm-svn: 356167
This commit is contained in:
parent
621de86907
commit
702411fc29
|
@ -207,6 +207,7 @@ if (LIBCXX_ENABLE_SHARED)
|
|||
OUTPUT_NAME "c++"
|
||||
VERSION "${LIBCXX_ABI_VERSION}.0"
|
||||
SOVERSION "${LIBCXX_ABI_VERSION}"
|
||||
DEFINE_SYMBOL ""
|
||||
)
|
||||
cxx_set_common_defines(cxx_shared)
|
||||
|
||||
|
|
Loading…
Reference in New Issue