Skip to content

Commit

Permalink
Merge pull request fsharp#653 from nosami/master
Browse files Browse the repository at this point in the history
Switch order of Mono search paths
  • Loading branch information
dsyme authored Jan 6, 2017
2 parents 0743ceb + 89b6ecb commit de709b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fsharp/CompileOps.fs
Original file line number Diff line number Diff line change
Expand Up @@ -2807,12 +2807,12 @@ type TcConfig private (data : TcConfigBuilder,validate:bool) =
[ let runtimeRoot = System.Runtime.InteropServices.RuntimeEnvironment.GetRuntimeDirectory()
let runtimeRootWithoutSlash = runtimeRoot.TrimEnd('/', '\\')
let api = runtimeRootWithoutSlash + "-api"
yield runtimeRoot // The defaut FSharp.Core is found in lib/mono/4.5
if Directory.Exists(api) then
yield api
let facades = Path.Combine(api, "Facades")
if Directory.Exists(facades) then
yield facades
yield runtimeRoot // The defaut FSharp.Core is found in lib/mono/4.5
let facades = Path.Combine(runtimeRoot, "Facades")
if Directory.Exists(facades) then
yield facades
Expand Down

0 comments on commit de709b3

Please sign in to comment.