autoconf: Move libraries later to ensure that all symbols are found

This fixes llvm.org/PR19540

llvm-svn: 222874
This commit is contained in:
Tobias Grosser 2014-11-27 10:14:27 +00:00
parent e7914cfb0e
commit 68c497fb22
1 changed files with 2 additions and 2 deletions

View File

@ -13,8 +13,6 @@ LOADABLE_MODULE = 1
CPP.Flags += $(POLLY_INC)
LD.Flags += $(POLLY_LD) $(POLLY_LIB)
LIBS += $(POLLY_LD) $(POLLY_LIB)
include $(LEVEL)/Makefile.config
# Enable optional source files
@ -73,3 +71,5 @@ SOURCES= Polly.cpp \
# Include Makefile.common so we know what to do.
#
include $(LEVEL)/Makefile.common
LIBS += $(POLLY_LD) $(POLLY_LIB)