[commit: ghc] wip/angerman/win32-cross: Lookup windres, dllwrap and objdump (2247393)

git at git.haskell.org git at git.haskell.org
Mon Feb 26 06:13:02 UTC 2018


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/angerman/win32-cross
Link       : http://ghc.haskell.org/trac/ghc/changeset/22473933ab63ad4f27e6fb8e7cf8de8e47d5f9c2/ghc

>---------------------------------------------------------------

commit 22473933ab63ad4f27e6fb8e7cf8de8e47d5f9c2
Author: Moritz Angermann <moritz.angermann at gmail.com>
Date:   Wed Feb 21 16:42:32 2018 +0800

    Lookup windres, dllwrap and objdump


>---------------------------------------------------------------

22473933ab63ad4f27e6fb8e7cf8de8e47d5f9c2
 configure.ac | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/configure.ac b/configure.ac
index 216f43f..1d3effb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -418,6 +418,10 @@ then
     AC_PATH_PROG([DllWrap],[dllwrap])
     AC_PATH_PROG([Windres],[windres])
     AC_PATH_PROG([Genlib],[genlib])
+else
+    AC_CHECK_TARGET_TOOL([Windres],[windres])
+    AC_CHECK_TARGET_TOOL([DllWrap],[dllwrap])
+    AC_CHECK_TARGET_TOOL([OBJDUMP],[objdump])
 fi
 
 DllWrapCmd="$DllWrap"



More information about the ghc-commits mailing list