configure: Rename the main binary to "wine32" for the Wow64 build.
This commit is contained in:
parent
9064777457
commit
3e6eab3fd9
|
@ -609,6 +609,7 @@ LDAPLIBS
|
||||||
LIBPOLL
|
LIBPOLL
|
||||||
LIBDL
|
LIBDL
|
||||||
EXTRA_BINARIES
|
EXTRA_BINARIES
|
||||||
|
MAIN_BINARY
|
||||||
SOCKETLIBS
|
SOCKETLIBS
|
||||||
CRTLIBS
|
CRTLIBS
|
||||||
LDPATH
|
LDPATH
|
||||||
|
@ -11718,6 +11719,10 @@ case $host_os in
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
MAIN_BINARY="wine"
|
||||||
|
|
||||||
|
test -z "$with_wine64" || MAIN_BINARY="wine32"
|
||||||
|
|
||||||
case $host_cpu in
|
case $host_cpu in
|
||||||
*i[3456789]86*)
|
*i[3456789]86*)
|
||||||
case $host_os in
|
case $host_os in
|
||||||
|
|
|
@ -1595,6 +1595,9 @@ case $host_os in
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
AC_SUBST(MAIN_BINARY,"wine")
|
||||||
|
test -z "$with_wine64" || MAIN_BINARY="wine32"
|
||||||
|
|
||||||
case $host_cpu in
|
case $host_cpu in
|
||||||
*i[[3456789]]86*)
|
*i[[3456789]]86*)
|
||||||
case $host_os in
|
case $host_os in
|
||||||
|
|
|
@ -2,12 +2,12 @@ TOPSRCDIR = @top_srcdir@
|
||||||
TOPOBJDIR = ..
|
TOPOBJDIR = ..
|
||||||
SRCDIR = @srcdir@
|
SRCDIR = @srcdir@
|
||||||
VPATH = @srcdir@
|
VPATH = @srcdir@
|
||||||
MODULE = wine
|
|
||||||
|
|
||||||
C_SRCS = \
|
C_SRCS = \
|
||||||
main.c \
|
main.c \
|
||||||
preloader.c
|
preloader.c
|
||||||
|
|
||||||
|
MAIN_BINARY = @MAIN_BINARY@
|
||||||
EXTRA_BINARIES = @EXTRA_BINARIES@
|
EXTRA_BINARIES = @EXTRA_BINARIES@
|
||||||
|
|
||||||
PROGRAMS = \
|
PROGRAMS = \
|
||||||
|
@ -48,7 +48,7 @@ $(EXTRA_BINARIES:%=__install__%): $(EXTRA_BINARIES) $(DESTDIR)$(bindir) dummy
|
||||||
.PHONY: install-man-pages $(EXTRA_BINARIES:%=__install__%)
|
.PHONY: install-man-pages $(EXTRA_BINARIES:%=__install__%)
|
||||||
|
|
||||||
install install-lib:: wine-installed $(DESTDIR)$(bindir) $(EXTRA_BINARIES:%=__install__%)
|
install install-lib:: wine-installed $(DESTDIR)$(bindir) $(EXTRA_BINARIES:%=__install__%)
|
||||||
$(INSTALL_PROGRAM) wine-installed $(DESTDIR)$(bindir)/$(MODULE)
|
$(INSTALL_PROGRAM) wine-installed $(DESTDIR)$(bindir)/$(MAIN_BINARY)
|
||||||
|
|
||||||
@WOW64_DISABLE@ install install-lib:: install-man-pages
|
@WOW64_DISABLE@ install install-lib:: install-man-pages
|
||||||
|
|
||||||
|
@ -58,7 +58,7 @@ install-man-pages: $(MANPAGES) $(INSTALLDIRS) dummy
|
||||||
$(INSTALL_DATA) wine.fr.man $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)/wine.$(prog_manext)
|
$(INSTALL_DATA) wine.fr.man $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)/wine.$(prog_manext)
|
||||||
|
|
||||||
uninstall::
|
uninstall::
|
||||||
-cd $(DESTDIR)$(bindir) && $(RM) $(EXTRA_BINARIES) $(MODULE)
|
-cd $(DESTDIR)$(bindir) && $(RM) $(MAIN_BINARY) $(EXTRA_BINARIES)
|
||||||
$(RM) $(DESTDIR)$(mandir)/man$(prog_manext)/wine.$(prog_manext)
|
$(RM) $(DESTDIR)$(mandir)/man$(prog_manext)/wine.$(prog_manext)
|
||||||
$(RM) $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext)/wine.$(prog_manext)
|
$(RM) $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext)/wine.$(prog_manext)
|
||||||
$(RM) $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)/wine.$(prog_manext)
|
$(RM) $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)/wine.$(prog_manext)
|
||||||
|
|
Loading…
Reference in New Issue