whether we enable dylibs or not depends on the host, not the target.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101007 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2010-04-12 02:21:38 +00:00
parent ac3b9cdf15
commit 17e8b7fbde

View 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