[llvm-commits] [llvm] r82530 - /llvm/trunk/CMakeLists.txt
Daniel Dunbar
daniel at zuster.org
Mon Sep 21 23:09:37 PDT 2009
Author: ddunbar
Date: Tue Sep 22 01:09:37 2009
New Revision: 82530
URL: http://llvm.org/viewvc/llvm-project?rev=82530&view=rev
Log:
CMake: Fix definition of LTDL_SHLIB_EXT for Darwin.
Modified:
llvm/trunk/CMakeLists.txt
Modified: llvm/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/CMakeLists.txt?rev=82530&r1=82529&r2=82530&view=diff
==============================================================================
--- llvm/trunk/CMakeLists.txt (original)
+++ llvm/trunk/CMakeLists.txt Tue Sep 22 01:09:37 2009
@@ -145,7 +145,11 @@
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)
More information about the llvm-commits
mailing list