Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
5884e98f
Commit
5884e98f
authored
Nov 22, 2022
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Don't rename the loader to wine64 for multi-arch builds.
parent
9e7a9270
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
13 deletions
+31
-13
configure
configure
+17
-8
configure.ac
configure.ac
+14
-5
No files found.
configure
View file @
5884e98f
...
...
@@ -653,6 +653,7 @@ ac_subst_vars='LTLIBOBJS
LIBOBJS
TAGSFLAGS
RT_LIBS
WINELOADER_PROGRAMS
DELAYLOADFLAG
MSVCRTFLAGS
NETAPI_LIBS
...
...
@@ -755,7 +756,6 @@ COREFOUNDATION_LIBS
ac_ct_OBJC
OBJCFLAGS
OBJC
WINELOADER_PROGRAMS
CONFIGURE_TARGETS
DISABLED_SUBDIRS
SUBDIRS
...
...
@@ -9471,10 +9471,6 @@ $ac_links:
for
f
in
$ac_links
;
do
as_fn_append CONFIGURE_TARGETS
"
$f
"
;
done
}
wine_binary
=
"wine"
test
"
$HOST_ARCH
"
!=
x86_64
||
wine_binary
=
"wine64"
WINELOADER_PROGRAMS
=
"
$wine_binary
"
libwine_soversion
=
`
expr
$libwine_version
:
'\([0-9]*\)\..*'
`
case
$host_os
in
...
...
@@ -9946,8 +9942,6 @@ if test "x$ac_cv_cflags__Wl__no_pie" = xyes
then
:
WINEPRELOADER_LDFLAGS
=
"-Wl,-no_pie
$WINEPRELOADER_LDFLAGS
"
fi
test
"
$wine_binary
"
=
wine
||
as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
WINELOADER_PROGRAMS
=
"
$WINELOADER_PROGRAMS
$wine_binary
-preloader"
WINELOADER_LDFLAGS
=
"
$WINELOADER_LDFLAGS
-mmacosx-version-min=10.7"
else
as_fn_append wine_warnings
"|can't build Wine preloader; many programs won't work"
...
...
@@ -19600,6 +19594,14 @@ then
fi
case
"
$HOST_ARCH
,
$PE_ARCHS
"
in
x86_64,
*
i386
*
)
wine_binary
=
"wine"
;;
x86_64,
*
)
wine_binary
=
"wine64"
;;
*
)
wine_binary
=
"wine"
;;
esac
WINELOADER_PROGRAMS
=
"
$wine_binary
"
case
$host_os
in
linux
*
)
case
$host_cpu
in
...
...
@@ -19609,6 +19611,13 @@ case $host_os in
;;
esac
;;
darwin
*
|
macosx
*
)
if
test
"
$wine_can_build_preloader
"
=
"yes"
then
test
"
$wine_binary
"
=
wine
||
as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
WINELOADER_PROGRAMS
=
"
$WINELOADER_PROGRAMS
$wine_binary
-preloader"
fi
;;
esac
...
...
@@ -23151,7 +23160,6 @@ READELF = $READELF
SUBDIRS =
$SUBDIRS
DISABLED_SUBDIRS =
$DISABLED_SUBDIRS
CONFIGURE_TARGETS =
$CONFIGURE_TARGETS
WINELOADER_PROGRAMS =
$WINELOADER_PROGRAMS
OBJC =
$OBJC
OBJCFLAGS =
$OBJCFLAGS
ac_ct_OBJC =
$ac_ct_OBJC
...
...
@@ -23254,6 +23262,7 @@ NETAPI_CFLAGS = $NETAPI_CFLAGS
NETAPI_LIBS =
$NETAPI_LIBS
MSVCRTFLAGS =
$MSVCRTFLAGS
DELAYLOADFLAG =
$DELAYLOADFLAG
WINELOADER_PROGRAMS =
$WINELOADER_PROGRAMS
RT_LIBS =
$RT_LIBS
TAGSFLAGS =
$TAGSFLAGS
LIBOBJS =
$LIBOBJS
...
...
configure.ac
View file @
5884e98f
...
...
@@ -656,9 +656,6 @@ LIBEXT="so"
WINE_PATH_SONAME_TOOLS
WINE_CONFIG_HELPERS
wine_binary="wine"
test "$HOST_ARCH" != x86_64 || wine_binary="wine64"
AC_SUBST(WINELOADER_PROGRAMS,"$wine_binary")
libwine_soversion=`expr $libwine_version : '\([[0-9]]*\)\..*'`
case $host_os in
...
...
@@ -709,8 +706,6 @@ case $host_os in
then
WINE_TRY_CFLAGS([-Wl,-no_pie],
[WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"])
test "$wine_binary" = wine || WINE_IGNORE_FILE(loader/wine-preloader)
WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
dnl If preloader is used, the loader needs to be an LC_UNIXTHREAD binary to avoid AppKit/Core Animation problems.
WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
else
...
...
@@ -2015,6 +2010,13 @@ fi
dnl **** Platform-specific checks ****
case "$HOST_ARCH,$PE_ARCHS" in
x86_64,*i386*) wine_binary="wine" ;;
x86_64,*) wine_binary="wine64" ;;
*) wine_binary="wine" ;;
esac
AC_SUBST(WINELOADER_PROGRAMS,"$wine_binary")
case $host_os in
linux*)
case $host_cpu in
...
...
@@ -2024,6 +2026,13 @@ case $host_os in
;;
esac
;;
darwin*|macosx*)
if test "$wine_can_build_preloader" = "yes"
then
test "$wine_binary" = wine || WINE_IGNORE_FILE(loader/wine-preloader)
WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
fi
;;
esac
dnl **** Check for functions ****
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment