Allow to build out of source on cygwin/gcc

This commit is contained in:
Bertrand Bellenot 2013-08-02 12:04:44 +02:00 committed by sftnight
parent 285dcca31a
commit ef5b723bef

View File

@ -79,6 +79,11 @@ CLINGLIBEXTRA = $(CLINGLDFLAGSEXTRA) -L$(shell $(LLVMCONFIG) --libdir) \
$(filter-out -lLLVMipa,$(shell $(LLVMCONFIG) --libs)))\
$(shell $(LLVMCONFIG) --ldflags)
ifeq ($(ARCH),win32gcc)
# for EnumProcessModules() in TCling.cxx
CLINGLIBEXTRA += -lpsapi
endif
##### local rules #####
.PHONY: all-$(MODNAME) clean-$(MODNAME) distclean-$(MODNAME)