From 88605454e4bf30d7fca2b0eea4643c5637afd5cc Mon Sep 17 00:00:00 2001 From: Duncan Coutts Date: Sun, 17 May 2009 00:36:30 +0000 Subject: [PATCH 1/1] Switch the default -dynload mode to SystemDependent The previous default was Deployable though it was being overridden to Wrapper in the ghc shell script wrapper. --- compiler/main/DynFlags.hs | 2 +- ghc/ghc.wrapper | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs index 50fd2cf..764fb91 100644 --- a/compiler/main/DynFlags.hs +++ b/compiler/main/DynFlags.hs @@ -614,7 +614,7 @@ defaultDynFlags = outputFile = Nothing, outputHi = Nothing, - dynLibLoader = Deployable, + dynLibLoader = SystemDependent, dumpPrefix = Nothing, dumpPrefixForce = Nothing, includePaths = [], diff --git a/ghc/ghc.wrapper b/ghc/ghc.wrapper index ce409ca..9b2ba0f 100644 --- a/ghc/ghc.wrapper +++ b/ghc/ghc.wrapper @@ -1 +1 @@ -exec $executablename -B$datadir -dynload wrapped ${1+"$@"} +exec $executablename -B$datadir ${1+"$@"} -- 1.7.10.4