Commit e5c585e4 authored by Alexandre Julliard's avatar Alexandre Julliard

configure: Create a few symlinks needed for running in Wow64 mode inside the build tree.

parent 50c6ac83
......@@ -14713,6 +14713,18 @@ ac_config_commands="$ac_config_commands Makefile"
ac_config_files="$ac_config_files Make.tmp:Makefile.in"
if test -n "$with_wine64"
then
wine_fn_append_rule ALL_MAKEFILE_DEPENDS "all: fonts server $with_wine64/loader/wine32
fonts server:
\$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
$with_wine64/loader/wine32:
\$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine32 \$@
clean::
\$(RM) fonts server $with_wine64/loader/wine32"
fi
wine_fn_append_rule ALL_MAKEFILE_DEPENDS "uninstall::
-rmdir \$(DESTDIR)\$(datadir)/wine \$(DESTDIR)\$(fakedlldir) \$(DESTDIR)\$(dlldir)"
......
......@@ -2713,6 +2713,19 @@ _WINE_EOF
AC_CONFIG_FILES([Make.tmp:Makefile.in])
dnl Some final makefile rules
if test -n "$with_wine64"
then
WINE_APPEND_RULE([ALL_MAKEFILE_DEPENDS],
[all: fonts server $with_wine64/loader/wine32
fonts server:
\$(RM) \$[@] && \$(LN_S) $with_wine64/\$[@] \$[@]
$with_wine64/loader/wine32:
\$(RM) \$[@] && \$(LN_S) $ac_pwd/loader/wine32 \$[@]
clean::
\$(RM) fonts server $with_wine64/loader/wine32])
fi
WINE_APPEND_RULE([ALL_MAKEFILE_DEPENDS],
[uninstall::
-rmdir \$(DESTDIR)\$(datadir)/wine \$(DESTDIR)\$(fakedlldir) \$(DESTDIR)\$(dlldir)])
......
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