Commit c6d6dcee authored by Alexandre Julliard's avatar Alexandre Julliard

configure: Don't create makefiles in directories that are symlinks in a Wow64 build.

parent eee837e9
...@@ -299,6 +299,10 @@ wine_fn_config_makefile () ...@@ -299,6 +299,10 @@ wine_fn_config_makefile ()
ac_enable=$[2] ac_enable=$[2]
ac_flags=$[3] ac_flags=$[3]
case $ac_dir in
dnl These are created as symlinks for wow64 builds
fonts|server) test -z "$with_wine64" || return ;;
esac
AS_VAR_IF([$ac_enable],[no],[wine_fn_disabled_rules; return]) AS_VAR_IF([$ac_enable],[no],[wine_fn_disabled_rules; return])
wine_fn_all_rules wine_fn_all_rules
wine_fn_install_rules wine_fn_install_rules
......
...@@ -7511,6 +7511,9 @@ wine_fn_config_makefile () ...@@ -7511,6 +7511,9 @@ wine_fn_config_makefile ()
ac_enable=$2 ac_enable=$2
ac_flags=$3 ac_flags=$3
case $ac_dir in
fonts|server) test -z "$with_wine64" || return ;;
esac
if eval test \"x\$"$ac_enable"\" = x"no"; then : if eval test \"x\$"$ac_enable"\" = x"no"; then :
wine_fn_disabled_rules; return wine_fn_disabled_rules; return
fi fi
...@@ -18263,15 +18266,15 @@ fi ...@@ -18263,15 +18266,15 @@ fi
if test -n "$with_wine64" if test -n "$with_wine64"
then then
wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
fonts server tools: fonts server:
\$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@ \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
$with_wine64/loader/wine: $with_wine64/loader/wine:
\$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@ \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
$with_wine64/loader/wine-preloader: $with_wine64/loader/wine-preloader:
\$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@ \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
clean:: clean::
\$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader" \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
else else
WINELOADER_INSTALL="wine.inf" WINELOADER_INSTALL="wine.inf"
......
...@@ -3596,15 +3596,15 @@ fi ...@@ -3596,15 +3596,15 @@ fi
if test -n "$with_wine64" if test -n "$with_wine64"
then then
WINE_APPEND_RULE( WINE_APPEND_RULE(
[all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader [all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
fonts server tools: fonts server:
\$(RM) \$[@] && \$(LN_S) $with_wine64/\$[@] \$[@] \$(RM) \$[@] && \$(LN_S) $with_wine64/\$[@] \$[@]
$with_wine64/loader/wine: $with_wine64/loader/wine:
\$(RM) \$[@] && \$(LN_S) $ac_pwd/loader/wine \$[@] \$(RM) \$[@] && \$(LN_S) $ac_pwd/loader/wine \$[@]
$with_wine64/loader/wine-preloader: $with_wine64/loader/wine-preloader:
\$(RM) \$[@] && \$(LN_S) $ac_pwd/loader/wine-preloader \$[@] \$(RM) \$[@] && \$(LN_S) $ac_pwd/loader/wine-preloader \$[@]
clean:: clean::
\$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader]) \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader])
else else
AC_SUBST(WINELOADER_INSTALL,"wine.inf") AC_SUBST(WINELOADER_INSTALL,"wine.inf")
WINE_APPEND_RULE( WINE_APPEND_RULE(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment