Skip to content

Commit b8a4429

Browse files
OmarTawfikKevinRansom
authored andcommitted
Don't Copy FSharp.Core.dll if --standalone was specified (#1578)
1 parent d060244 commit b8a4429

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fsharp/fsc.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2044,7 +2044,7 @@ let main4 (Args (tcConfig, errorLogger: ErrorLogger, ilGlobals, ilxMainModule, o
20442044
AbortOnError(errorLogger, tcConfig, exiter)
20452045

20462046
// Don't copy referenced fharp.core.dll if we are building fsharp.core.dll
2047-
if tcConfig.copyFSharpCore && not tcConfig.compilingFslib then
2047+
if tcConfig.copyFSharpCore && not tcConfig.compilingFslib && not tcConfig.standalone then
20482048
copyFSharpCore(outfile, tcConfig.referencedDLLs)
20492049

20502050
SqmLoggerWithConfig tcConfig errorLogger.ErrorNumbers errorLogger.WarningNumbers

0 commit comments

Comments
 (0)