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
50c6ac83
Commit
50c6ac83
authored
Mar 29, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
loader: Rename the 32-bit loader in the build tree too when doing a Wow64 build.
parent
f69d0fa0
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
18 deletions
+13
-18
.gitignore
.gitignore
+1
-0
Makefile.in
loader/Makefile.in
+3
-2
winewrapper
tools/winewrapper
+9
-16
No files found.
.gitignore
View file @
50c6ac83
...
...
@@ -229,6 +229,7 @@ loader/wine-preloader
loader/wine.de.man
loader/wine.fr.man
loader/wine.man
loader/wine32
programs/Makeprog.rules
programs/rpcss/epm.h
programs/rpcss/epm_s.c
...
...
loader/Makefile.in
View file @
50c6ac83
...
...
@@ -13,6 +13,7 @@ EXTRA_BINARIES = @EXTRA_BINARIES@
PROGRAMS
=
\
wine
\
wine32
\
wine-installed
\
wine-preloader
...
...
@@ -27,7 +28,7 @@ INSTALLDIRS = \
$(DESTDIR)$(mandir)
/de.UTF-8/man
$(prog_manext)
\
$(DESTDIR)$(mandir)
/fr.UTF-8/man
$(prog_manext)
all
:
wine
wine-installed $(EXTRA_BINARIES) $(MANPAGES)
all
:
$(MAIN_BINARY)
wine-installed $(EXTRA_BINARIES) $(MANPAGES)
@MAKE_RULES@
...
...
@@ -37,7 +38,7 @@ LDEXECFLAGS = @LDEXECFLAGS@
wine-preloader
:
preloader.o Makefile.in
$(CC)
-o
$@
-static
-nostartfiles
-nodefaultlibs
-Wl
,-Ttext
=
0x7c000000 preloader.o
$(LIBPORT)
$(LDFLAGS)
wine
:
main.o Makefile.in
$(MAIN_BINARY)
:
main.o Makefile.in
$(CC)
-o
$@
$(LDEXECFLAGS)
main.o
$(LIBWINE)
$(LIBPORT)
$(LIBPTHREAD)
$(EXTRALIBS)
$(LDFLAGS)
$(LDRPATH_LOCAL)
wine-installed
:
main.o Makefile.in
...
...
tools/winewrapper
View file @
50c6ac83
...
...
@@ -81,7 +81,14 @@ else
export
LD_LIBRARY_PATH
fi
WINELOADER
=
"
$topdir
/loader/wine"
if
[
-x
"
$topdir
/loader/wine"
]
then
WINELOADER
=
"
$topdir
/loader/wine"
elif
[
-x
"
$topdir
/loader/wine32"
]
then
WINELOADER
=
"
$topdir
/loader/wine32"
else
echo
"
$0
: could not find the wine loader in
$topdir
"
exit
1
fi
export
WINELOADER
# any local settings ?
...
...
@@ -92,18 +99,4 @@ fi
# and run the application
case
"
$0
"
in
wine|
*
/wine
)
exec
"
$WINELOADER
"
"
$@
"
;;
*
/
*
)
[
-f
"
$0
.exe.so"
]
&&
exec
"
$WINELOADER
"
"
$0
.exe.so"
"
$@
"
echo
"
$0
: cannot find corresponding application"
exit
1
;;
*
)
[
-f
"
$appdir
/
$0
.exe.so"
]
&&
exec
"
$WINELOADER
"
"
$appdir
/
$0
.exe.so"
"
$@
"
echo
"
$0
: cannot find corresponding application"
exit
1
;;
esac
exec
"
$WINELOADER
"
"
$@
"
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