whether we enable dylibs or not depends on the host, not the target.
[oota-llvm.git] / 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