diff options
author | Alan Zimmerman <alan.zimm@gmail.com> | 2017-12-01 16:16:02 +0200 |
---|---|---|
committer | Daniel Gröber <dxld@darkboxed.org> | 2018-01-18 14:10:26 +0100 |
commit | 62251095adba9010ca063a119fb4bd6e1001bf60 (patch) | |
tree | 15ca50749dfcb12f61cceb34fce2d5280fa6aa19 | |
parent | 50cee19b18b30d916033867ebdbfe79894d22581 (diff) |
Provide foreign lib otherModules
-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) |