configure: Create a few symlinks needed for running in Wow64 mode inside the build tree.
This commit is contained in:
parent
50c6ac8324
commit
e5c585e4a4
|
@ -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)"
|
||||
|
||||
|
|
13
configure.ac
13
configure.ac
|
@ -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)])
|
||||
|
|
Loading…
Reference in New Issue