Add other-modules to library entrypoints

This commit is contained in:
Daniel Gröber 2015-03-06 14:39:54 +01:00
parent c8da5b8085
commit 8aece59638
1 changed files with 1 additions and 1 deletions

View File

@ -282,7 +282,7 @@ gmModuleName = GmModuleName . intercalate "." . components
componentEntrypoints :: Component -> Either FilePath [GmModuleName]
componentEntrypoints (CLib Library {..})
= Right $ map gmModuleName exposedModules
= Right $ map gmModuleName $ exposedModules ++ (otherModules libBuildInfo)
componentEntrypoints (CExe Executable {..})
= Left modulePath
componentEntrypoints (CTest TestSuite { testInterface = TestSuiteExeV10 _ fp })