1 |
The help message produced by LT_INIT in libtool-2.4.6 always says |
2 |
--enable-static regardless of the default value, see m4/ltoptions.m4: |
3 |
|
4 |
AC_ARG_ENABLE([static], |
5 |
[AS_HELP_STRING([--enable-static@<:@=PKGS@:>@], |
6 |
[build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])], |
7 |
...) |
8 |
|
9 |
This means that looking only for --disable-static in output of |
10 |
configure --help results in non-functional behaviour. |
11 |
|
12 |
Implementation in Portage (which predates the PMS wording) looks for |
13 |
--enable-static in addition. |
14 |
|
15 |
Bug: https://bugs.gentoo.org/814368 |
16 |
Signed-off-by: Ulrich Müller <ulm@g.o> |
17 |
--- |
18 |
pkg-mgr-commands.tex | 4 ++-- |
19 |
1 file changed, 2 insertions(+), 2 deletions(-) |
20 |
|
21 |
diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex |
22 |
index ebb4b7e..45706af 100644 |
23 |
--- a/pkg-mgr-commands.tex |
24 |
+++ b/pkg-mgr-commands.tex |
25 |
@@ -341,8 +341,8 @@ commands once the current phase function has returned. |
26 |
as using it. This option will only be passed if the string \t{-{}-disable-silent-rules} |
27 |
occurs in the output of \t{configure -{}-help}. |
28 |
\item \t{-{}-disable-static}, if the EAPI is listed in table~\ref{tab:econf-options-table} |
29 |
- as using it. This option will only be passed if the string \t{-{}-disable-static} occurs |
30 |
- in the output of \t{configure -{}-help}. |
31 |
+ as using it. This option will only be passed if the string \t{-{}-disable-static} or |
32 |
+ \t{-{}-enable-static} occurs in the output of \t{configure -{}-help}. |
33 |
\end{itemize} |
34 |
|
35 |
\ChangeWhenAddingAnEAPI{8} |
36 |
-- |
37 |
2.33.0 |