aboutsummaryrefslogtreecommitdiff
path: root/src/CabalHelper/Runtime
diff options
context:
space:
mode:
Diffstat (limited to 'src/CabalHelper/Runtime')
-rw-r--r--src/CabalHelper/Runtime/Main.hs6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/CabalHelper/Runtime/Main.hs b/src/CabalHelper/Runtime/Main.hs
index 49c6789..336650a 100644
--- a/src/CabalHelper/Runtime/Main.hs
+++ b/src/CabalHelper/Runtime/Main.hs
@@ -760,13 +760,7 @@ componentEntrypoints (CFLib (ForeignLib{..}))
#endif
componentEntrypoints (CExe Executable {..})
= ChExeEntrypoint
-#if CH_MIN_VERSION_Cabal(2,0,0)
- --
- ( head ((hsSourceDirs buildInfo) ++ ["."]) </> modulePath)
- -- modulePath
-#else
modulePath
-#endif
(map gmModuleName $ otherModules buildInfo)
componentEntrypoints (CTest TestSuite { testInterface = TestSuiteExeV10 _ fp, ..})
= ChExeEntrypoint fp (map gmModuleName $ otherModules testBuildInfo)