diff --git a/runtime/GCCLibraries/crtend/Makefile b/runtime/GCCLibraries/crtend/Makefile index 049e35c8631..7fa16aab863 100644 --- a/runtime/GCCLibraries/crtend/Makefile +++ b/runtime/GCCLibraries/crtend/Makefile @@ -2,6 +2,8 @@ LEVEL = ../../.. LIBNAME = crtend Source = crtend.c listend.ll +EXPORTED_SYMBOL_LIST = __main,llvm.global_ctors,llvm.global_dtors + include ../Makefile.libs install:: $(DESTLIBNAME)