From 62251095adba9010ca063a119fb4bd6e1001bf60 Mon Sep 17 00:00:00 2001 From: Alan Zimmerman Date: Fri, 1 Dec 2017 16:16:02 +0200 Subject: Provide foreign lib otherModules --- src/CabalHelper/Runtime/Main.hs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/CabalHelper') 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) -- cgit v1.2.3