diff options
-rw-r--r-- | src/CabalHelper/Runtime/Main.hs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/CabalHelper/Runtime/Main.hs b/src/CabalHelper/Runtime/Main.hs index 0ef826a..ab77bf6 100644 --- a/src/CabalHelper/Runtime/Main.hs +++ b/src/CabalHelper/Runtime/Main.hs @@ -642,7 +642,9 @@ componentEntrypoints (CLib Library {..}) (map gmModuleName $ otherModules libBuildInfo) #if CH_MIN_VERSION_Cabal(2,0,0) componentEntrypoints (CFLib (ForeignLib{..})) - = ChLibEntrypoint [] [] + = ChLibEntrypoint + [] + (map gmModuleName $ otherModules foreignLibBuildInfo) #endif componentEntrypoints (CExe Executable {..}) = ChExeEntrypoint modulePath (map gmModuleName $ otherModules buildInfo) |