From 385cda3a02a61a025f70d20a2f5985d5883c5bdd Mon Sep 17 00:00:00 2001 From: sof Date: Fri, 12 Jul 2002 17:20:57 +0000 Subject: [PATCH] [project @ 2002-07-12 17:20:57 by sof] mkdll: in installed mode, invoke the 'dllwrap' that's distributed with GHC, and feed it the right options. Merge to STABLE. --- ghc/compiler/main/SysTools.lhs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ghc/compiler/main/SysTools.lhs b/ghc/compiler/main/SysTools.lhs index a108c9e..83d833c 100644 --- a/ghc/compiler/main/SysTools.lhs +++ b/ghc/compiler/main/SysTools.lhs @@ -352,7 +352,11 @@ initSysTools minusB_args ; let split_path = perl_path ++ " \"" ++ split_script ++ "\"" mangle_path = perl_path ++ " \"" ++ mangle_script ++ "\"" - ; let mkdll_path = cMKDLL + ; let mkdll_path + | am_installed = pgmPath (installed "gcc-lib/") cMKDLL ++ + " --dlltool-name " ++ pgmPath (installed "gcc-lib/") "dlltool" ++ + " --driver-name " ++ gcc_path + | otherwise = cMKDLL #else -- UNIX-SPECIFIC STUFF -- On Unix, the "standard" tools are assumed to be -- 1.7.10.4