summaryrefslogtreecommitdiff
path: root/libstdc++-v3/configure.host
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/configure.host')
-rw-r--r--libstdc++-v3/configure.host12
1 files changed, 10 insertions, 2 deletions
diff --git a/libstdc++-v3/configure.host b/libstdc++-v3/configure.host
index 799cec2f412..4da4508fa4f 100644
--- a/libstdc++-v3/configure.host
+++ b/libstdc++-v3/configure.host
@@ -260,8 +260,16 @@ case "${host_os}" in
atomic_word_dir=os/irix
;;
mingw32*)
- os_include_dir="os/mingw32"
- error_constants_dir="os/mingw32"
+ case "$host" in
+ *-w64-*)
+ os_include_dir="os/mingw32-w64"
+ error_constants_dir="os/mingw32-w64"
+ ;;
+ *)
+ os_include_dir="os/mingw32"
+ error_constants_dir="os/mingw32"
+ ;;
+ esac
OPT_LDFLAGS="${OPT_LDFLAGS} \$(lt_host_flags)"
;;
netbsd*)