Remove -ldl for now.
Current story: you don't get any GHCi stuff by default. To build
GHCi:
(a) build a compiler with GhcRtsHcOpts+=-optc-DGHCI in build.mk
(b) use this compiler to bootstrap another compiler, with
GhcWithInterpreter=YES and GhcHcOpts+=-ldl in build.mk
then [ clibdir ]
else [ ghc_src_dir cGHC_RUNTIME_DIR ],
hs_libraries = [ "HSrts" ],
- extra_libraries = [ "dl" ],
+ extra_libraries = [ "" ],
include_dirs = if installing
then [ clibdir ++ "/includes" ]
else [ ghc_src_dir cGHC_INCLUDE_DIR ],