From: Chris Lattner Date: Mon, 12 Apr 2010 02:21:38 +0000 (+0000) Subject: whether we enable dylibs or not depends on the host, not the target. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=17e8b7fbde5175c27c734f905959ebfae1e317b4;p=oota-llvm.git 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 --- diff --git a/Makefile.config.in b/Makefile.config.in index 7c59e5f3f42..d88ec4a287c 100644 --- a/Makefile.config.in +++ b/Makefile.config.in @@ -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