aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/CabalHelper/Runtime/Main.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CabalHelper/Runtime/Main.hs b/src/CabalHelper/Runtime/Main.hs
index 3846d49..48d134a 100644
--- a/src/CabalHelper/Runtime/Main.hs
+++ b/src/CabalHelper/Runtime/Main.hs
@@ -500,9 +500,9 @@ componentOptions' (lbi, v, distdir) inplaceFlag flags rf f = do
componentsMap lbi v distdir $ \c clbi bi ->
let
#if CH_MIN_VERSION_Cabal(2,0,0)
- outdir = componentOutDir lbi c
-#else
outdir = componentBuildDir lbi clbi
+#else
+ outdir = componentOutDir lbi c
#endif
(clbi', adopts) = case flags of
_ | not inplaceFlag -> (clbi, mempty)