mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 19:31:58 +00:00
CMake: Fix definition of LTDL_SHLIB_EXT for Darwin.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82530 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bf6f0859b0
commit
05dafd8207
@ -145,7 +145,11 @@ else(WIN32)
|
|||||||
if(UNIX)
|
if(UNIX)
|
||||||
set(LLVM_ON_WIN32 0)
|
set(LLVM_ON_WIN32 0)
|
||||||
set(LLVM_ON_UNIX 1)
|
set(LLVM_ON_UNIX 1)
|
||||||
set(LTDL_SHLIB_EXT ".so")
|
if(APPLE)
|
||||||
|
set(LTDL_SHLIB_EXT ".dylib")
|
||||||
|
else(APPLE)
|
||||||
|
set(LTDL_SHLIB_EXT ".so")
|
||||||
|
endif(APPLE)
|
||||||
set(EXEEXT "")
|
set(EXEEXT "")
|
||||||
# FIXME: Maximum path length is currently set to 'safe' fixed value
|
# FIXME: Maximum path length is currently set to 'safe' fixed value
|
||||||
set(MAXPATHLEN 2024)
|
set(MAXPATHLEN 2024)
|
||||||
|
Loading…
Reference in New Issue
Block a user