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