[llvm-commits] CVS: llvm/tools/lli/Makefile

Chris Lattner lattner at cs.uiuc.edu
Fri Sep 13 17:21:01 PDT 2002


Changes in directory llvm/tools/lli:

Makefile updated: 1.16 -> 1.17

---
Log message:

Export symbols for linux


---
Diffs of the changes:

Index: llvm/tools/lli/Makefile
diff -u llvm/tools/lli/Makefile:1.16 llvm/tools/lli/Makefile:1.17
--- llvm/tools/lli/Makefile:1.16	Tue Jul 23 12:50:51 2002
+++ llvm/tools/lli/Makefile	Fri Sep 13 17:20:19 2002
@@ -1,6 +1,10 @@
 LEVEL = ../..
 TOOLNAME = lli
 USEDLIBS = bcreader vmcore analysis.a support.a target.a transforms.a
-TOOLLINKOPTS = -ldl
+
+# Have gcc tell the linker to export symbols from the program so that
+# dynamically loaded modules can be linked against them.
+#
+TOOLLINKOPTS = -ldl $(ExportSymbols)
 
 include $(LEVEL)/Makefile.common





More information about the llvm-commits mailing list