summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/opt/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/opt/Makefile b/tools/opt/Makefile
index 88fd85b7de..9a016df9f2 100644
--- a/tools/opt/Makefile
+++ b/tools/opt/Makefile
@@ -6,7 +6,7 @@ USEDLIBS = bcreader bcwriter instrument profpaths \
livevar scalaropts \
ipo ipa.a datastructure.a transforms target.a analysis \
transformutils vmcore support
-TOOLLINKOPTS = -ldl
+TOOLLINKOPTS = -ldl $(ExportSymbols)
include $(LEVEL)/Makefile.common