projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf6f085
)
CMake: Fix definition of LTDL_SHLIB_EXT for Darwin.
author
Daniel Dunbar
<daniel@zuster.org>
Tue, 22 Sep 2009 06:09:37 +0000
(06:09 +0000)
committer
Daniel Dunbar
<daniel@zuster.org>
Tue, 22 Sep 2009 06:09:37 +0000
(06:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82530
91177308
-0d34-0410-b5e6-
96231b3b80d8
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 4e48ef6b59404108446c9e5a859006267ffa1bc4..684d3d0da2d6a8c915b5201b0f229571d612d5ca 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-145,7
+145,11
@@
else(WIN32)
if(UNIX)
set(LLVM_ON_WIN32 0)
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 "")
# FIXME: Maximum path length is currently set to 'safe' fixed value
set(MAXPATHLEN 2024)