diff --git a/Cabal-fix-dynamic-exec-for-TH.patch b/Cabal-fix-dynamic-exec-for-TH.patch index 382b343..fb95f83 100644 --- a/Cabal-fix-dynamic-exec-for-TH.patch +++ b/Cabal-fix-dynamic-exec-for-TH.patch @@ -17,7 +17,7 @@ + when ((withProfExe lbi || withDynExe lbi) && EnableExtension TemplateHaskell `elem` allExtensions exeBi) $ - runGhcProg exeProfOpts { ghcOptNoLink = toFlag True } -+ runGhcProg staticOpts { ghcOptNoLink = toFlag True } ++ runGhcProg vanillaOpts { ghcOptNoLink = toFlag True } runGhcProg exeOpts { ghcOptOutputFile = toFlag (targetDir exeNameReal) }