Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Johnny Cai
wine
Commits
55776370
Commit
55776370
authored
21 years ago
by
Alexandre Julliard
Browse files
Options
Downloads
Patches
Plain Diff
Added support for specifying an stdcall dll entry point.
parent
b88d3407
Loading
Loading
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
dlls/Makedll.rules.in
+1
-1
1 addition, 1 deletion
dlls/Makedll.rules.in
dlls/user/Makefile.in
+2
-2
2 additions, 2 deletions
dlls/user/Makefile.in
tools/winebuild/main.c
+2
-1
2 additions, 1 deletion
tools/winebuild/main.c
with
5 additions
and
4 deletions
dlls/Makedll.rules.in
+
1
−
1
View file @
55776370
...
...
@@ -42,7 +42,7 @@ $(MODULE).glue.c: $(C_SRCS) $(C_SRCS16) $(WINEBUILD)
# Rules for .dll files
$(MODULE): $(RCOBJS) $(OBJS) $(MODULE).dbg.o $(SPEC_DEF) $(IMPORTLIBS) Makefile.in
$(DLLWRAP) -k --def $(SPEC_DEF) -o $@ $(RCOBJS) $(OBJS) $(MODULE).dbg.o $(DLLMAIN:%=--entry %) -L$(DLLDIR) $(DELAYIMPORTS:%=-l%) $(IMPORTS:%=-l%) $(ALL_LIBS)
$(DLLWRAP) -k --def $(SPEC_DEF) -o $@ $(RCOBJS) $(OBJS) $(MODULE).dbg.o $(DLLMAIN:%=--entry
_
%) -L$(DLLDIR) $(DELAYIMPORTS:%=-l%) $(IMPORTS:%=-l%) $(ALL_LIBS)
$(SPEC_DEF): $(WINEBUILD)
...
...
This diff is collapsed.
Click to expand it.
dlls/user/Makefile.in
+
2
−
2
View file @
55776370
...
...
@@ -4,10 +4,10 @@ TOPOBJDIR = ../..
SRCDIR
=
@srcdir@
VPATH
=
@srcdir@
MODULE
=
user32.dll
IMPORTS
=
gdi32 advapi32 kernel32
IMPORTS
=
gdi32 advapi32 kernel32
ntdll
ALTNAMES
=
user.exe keyboard.dll ddeml.dll display.dll mouse.dll
EXTRALIBS
=
$(
LIBUNICODE
)
DLLMAIN
=
UserClientDllInitialize
DLLMAIN
=
UserClientDllInitialize
@12
LDDLLFLAGS
=
@LDDLLFLAGS@
SYMBOLFILE
=
$(
MODULE
)
.tmp.o
...
...
This diff is collapsed.
Click to expand it.
tools/winebuild/main.c
+
2
−
1
View file @
55776370
...
...
@@ -212,7 +212,7 @@ static void set_exec_mode( enum exec_mode_values mode )
/* parse options from the argv array and remove all the recognized ones */
static
char
**
parse_options
(
int
argc
,
char
**
argv
)
{
const
char
*
p
;
char
*
p
;
int
optc
;
while
((
optc
=
getopt_long
(
argc
,
argv
,
short_options
,
long_options
,
NULL
))
!=
-
1
)
...
...
@@ -257,6 +257,7 @@ static char **parse_options( int argc, char **argv )
break
;
case
'e'
:
init_func
=
xstrdup
(
optarg
);
if
((
p
=
strchr
(
init_func
,
'@'
)))
*
p
=
0
;
/* kill stdcall decoration */
break
;
case
'f'
:
if
(
!
strcmp
(
optarg
,
"PIC"
)
||
!
strcmp
(
optarg
,
"pic"
))
UsePIC
=
1
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment