Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
770c92dc
...
770c92dcbeae05456848cbb696d7d7c5abd8df3d
authored
2003-01-20 13:22:12 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(main): Use I18NLIBS instead of hardcoding library names.
1 parent
3e6b6922
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
mailbox/mailutils-config.c
mailbox/mailutils-config.c
View file @
770c92d
...
...
@@ -119,9 +119,12 @@ main (int argc, char **argv)
asprintf
(
&
entry
[
n
].
ptr
,
"%s -lmailbox"
,
LINK_FLAGS
);
n
++
;
#ifdef ENABLE_NLS
entry
[
n
].
level
=
10
;
asprintf
(
&
entry
[
n
].
ptr
,
"-lintl -liconv"
);
n
++
;
if
(
sizeof
(
I18NLIBS
)
>
1
)
{
entry
[
n
].
level
=
10
;
asprintf
(
&
entry
[
n
].
ptr
,
I18NLIBS
);
n
++
;
}
#endif
for
(;
n
<
sizeof
(
entry
)
/
sizeof
(
entry
[
0
])
&&
argc
>
0
;
argc
--
,
argv
++
,
n
++
)
...
...
Please
register
or
sign in
to post a comment