forked from OSchip/llvm-project
				
			Don't build LLDBWrapPython.cpp for mingw.
Previous check relied on -DLLDB_DISABLE_PYTHON which was not valid as it is defined in the top level LLDB Makefile which is included after the check. If this check is moved after the inclusion of top level Makefile then BUILT_SOURCES is not properly handled. So I am using the scheme present in the Host/Makefile. llvm-svn: 204459
This commit is contained in:
		
							parent
							
								
									a125d53a7b
								
							
						
					
					
						commit
						8455c44e6c
					
				| 
						 | 
					@ -10,8 +10,9 @@
 | 
				
			||||||
LLDB_LEVEL := ../..
 | 
					LLDB_LEVEL := ../..
 | 
				
			||||||
LIBRARYNAME := lldbInterpreter
 | 
					LIBRARYNAME := lldbInterpreter
 | 
				
			||||||
BUILD_ARCHIVE = 1
 | 
					BUILD_ARCHIVE = 1
 | 
				
			||||||
 | 
					include $(LLDB_LEVEL)/../../Makefile.config
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ifeq (,$(findstring -DLLDB_DISABLE_PYTHON,$(CXXFLAGS)))
 | 
					ifneq ($(HOST_OS),MingW)
 | 
				
			||||||
BUILT_SOURCES := LLDBWrapPython.cpp
 | 
					BUILT_SOURCES := LLDBWrapPython.cpp
 | 
				
			||||||
endif
 | 
					endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue