Fix warning
[oota-llvm.git] / lib / ExecutionEngine / Makefile
index 930f410b685037dbc01766a93761bdb67ee45fa3..a0e73d715001191f7fc267b10d454f324e977ca0 100644 (file)
@@ -1,6 +1,10 @@
 LEVEL = ../..
 TOOLNAME = lli
-USEDLIBS = bcreader vmcore analysis support target transforms
-TOOLLINKOPTS = -L$(LEVEL)/test/Libraries/Output -linstr32 -ldl
+USEDLIBS = bcreader vmcore analysis.a support.a target.a transforms.a
+
+# Have gcc tell the linker to export symbols from the program so that
+# dynamically loaded modules can be linked against them.
+#
+TOOLLINKOPTS = -ldl
 
 include $(LEVEL)/Makefile.common