Use $(PLATFORMLIBDL) to selectively bring in -ldl only on those platforms where
[oota-llvm.git] / tools / opt / Makefile
1 LEVEL = ../..
2 TOOLNAME = opt
3
4 USEDLIBS = bcreader bcwriter \
5            instrument profpaths scalaropts \
6            ipo ipa.a datastructure transforms target.a analysis \
7            transformutils vmcore support
8
9 TOOLLINKOPTS = $(PLATFORMLIBDL)
10
11 include $(LEVEL)/Makefile.common