whether we enable dylibs or not depends on the host, not the target.
authorChris Lattner <sabre@nondot.org>
Mon, 12 Apr 2010 02:21:38 +0000 (02:21 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 12 Apr 2010 02:21:38 +0000 (02:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101007 91177308-0d34-0410-b5e6-96231b3b80d8

Makefile.config.in

index 7c59e5f3f42ceee56d168fccd66af32bd2f542ac..d88ec4a287cac9cbbe88fbf9a793d1285616d3f4 100644 (file)
@@ -323,7 +323,7 @@ CXX_INCLUDE_64BIT_DIR = @CXX_INCLUDE_64BIT_DIR@
 
 # TARGET_HAS_DYNAMIC_LIBS - This is set if the target supports dynamic linking
 # .dylib or .so files.
-ifeq ($(TARGET_OS), $(filter $(TARGET_OS), Cygwin MingW Minix))
+ifeq ($(HOST_OS), $(filter $(HOST_OS), Cygwin MingW Minix))
 TARGET_HAS_DYNAMIC_LIBS := 1
 endif