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
37c702b5
Commit
37c702b5
authored
Mar 19, 2012
by
André Hentschel
Committed by
Alexandre Julliard
Mar 26, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winemaker: Handle library search pragmas.
parent
c275fd73
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
winemaker
tools/winemaker
+8
-3
No files found.
tools/winemaker
View file @
37c702b5
...
@@ -3,7 +3,7 @@ use strict;
...
@@ -3,7 +3,7 @@ use strict;
# Copyright 2000-2004 Francois Gouget for CodeWeavers
# Copyright 2000-2004 Francois Gouget for CodeWeavers
# Copyright 2004 Dimitrie O. Paun
# Copyright 2004 Dimitrie O. Paun
# Copyright 2009-201
1
André Hentschel
# Copyright 2009-201
2
André Hentschel
#
#
# This library is free software; you can redistribute it and/or
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# modify it under the terms of the GNU Lesser General Public
...
@@ -20,7 +20,7 @@ use strict;
...
@@ -20,7 +20,7 @@ use strict;
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
#
#
my
$version
=
"0.8.
2
"
;
my
$version
=
"0.8.
3
"
;
use
Cwd
;
use
Cwd
;
use
File::
Basename
;
use
File::
Basename
;
...
@@ -2109,6 +2109,11 @@ sub fix_file($$$)
...
@@ -2109,6 +2109,11 @@ sub fix_file($$$)
print
FILEO
"$1$2$real_include_name$4$'"
;
print
FILEO
"$1$2$real_include_name$4$'"
;
$modified
|=
(
$real_include_name
ne
$3
);
$modified
|=
(
$real_include_name
ne
$3
);
}
elsif
(
/^(\s*)\#\s*pragma\s+comment\s*\(\s*lib\s*,\s*\"(\w+)\.lib\"\s*\)/
)
{
my
$pragma_indent
=
$1
;
my
$pragma_lib
=
$2
;
push
@
{
@$target
[
$T_LIBRARIES
]},
$pragma_lib
;
print
FILEO
"$pragma_indent/* winemaker: Added -l$pragma_lib to the libraries */\n"
;
}
elsif
(
s/^(\s*)(\#\s*pragma\s+pack\s*\(\s*)//
)
{
}
elsif
(
s/^(\s*)(\#\s*pragma\s+pack\s*\(\s*)//
)
{
# Pragma pack handling
# Pragma pack handling
#
#
...
@@ -2658,7 +2663,7 @@ sub print_banner()
...
@@ -2658,7 +2663,7 @@ sub print_banner()
print
"Winemaker $version\n"
;
print
"Winemaker $version\n"
;
print
"Copyright 2000-2004 Francois Gouget <fgouget\@codeweavers.com> for CodeWeavers\n"
;
print
"Copyright 2000-2004 Francois Gouget <fgouget\@codeweavers.com> for CodeWeavers\n"
;
print
"Copyright 2004 Dimitrie O. Paun\n"
;
print
"Copyright 2004 Dimitrie O. Paun\n"
;
print
"Copyright 2009-201
1
André Hentschel\n"
;
print
"Copyright 2009-201
2
André Hentschel\n"
;
}
}
sub
usage
()
sub
usage
()
...
...
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