4 // This file is only included when GhcBuildDylibs is set in mk/build.mk.
5 // It contains an __attribute__((constructor)) function (run prior to main())
6 // which sets the keepCAFs flag in the RTS, before any Haskell code is run.
7 // This is required so that GHCi can use dynamic libraries instead of HSxyz.o
10 static void keepCAFsForGHCi() __attribute__((constructor));
12 static void keepCAFsForGHCi()