commit | 424cb27e6afb2b346186bfe8c9ba836c8bb611a2 | [log] [tgz] |
---|---|---|
author | Alexandre Julliard <julliard@winehq.org> | Fri Dec 26 17:54:50 2008 +0100 |
committer | Alexandre Julliard <julliard@winehq.org> | Fri Dec 26 17:55:29 2008 +0100 |
tree | 1f581b7ebc14b63c7a1df93ce966ca5b19258dfd | |
parent | 53626dbd93427d38e6c229212f5a0795eecc92e4 [diff] [blame] |
configure: When cross-compiling, propagate the target specification to winebuild.
diff --git a/configure.ac b/configure.ac index a84c822..a266e53 100644 --- a/configure.ac +++ b/configure.ac
@@ -159,6 +159,10 @@ AC_MSG_ERROR([could not find Wine tools in $with_wine_tools.]) fi]) AC_SUBST(TOOLSDIR,$wine_cv_toolsdir) +if test "$cross_compiling" = "yes" +then + AC_SUBST(TARGET,"$host_alias") +fi AC_PATH_XTRA