Add a note hinting porters not to use INSTALL_LIB to install static libraries.
PR: docs/190146 Submitted by: Natacha Porté Sponsored by: Absolight
This commit is contained in:
parent
87e9bb6d87
commit
8f8512d2fb
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=44926
1 changed files with 10 additions and 3 deletions
|
@ -4361,8 +4361,8 @@ PORTVERSION= 1.0</programlisting>
|
|||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para><varname>INSTALL_LIB</varname> is a command to
|
||||
install shared libraries.</para>
|
||||
<para><varname>INSTALL_LIB</varname> is a command to install
|
||||
shared libraries (but not static libraries).</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
|
@ -4375,7 +4375,7 @@ PORTVERSION= 1.0</programlisting>
|
|||
|
||||
<listitem>
|
||||
<para><varname>INSTALL_DATA</varname> is a command to
|
||||
install sharable data.</para>
|
||||
install sharable data, including static libraries.</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
|
@ -4387,6 +4387,13 @@ PORTVERSION= 1.0</programlisting>
|
|||
|
||||
<para>These are basically the <command>install</command>
|
||||
command with all the appropriate flags.</para>
|
||||
|
||||
<note>
|
||||
<para>Do not use <varname>INSTALL_LIB</varname> to install
|
||||
static libraries, because stripping them render them
|
||||
useless. Use <varname>INSTALL_DATA</varname>
|
||||
instead.</para>
|
||||
</note>
|
||||
</sect2>
|
||||
|
||||
<sect2 xml:id="install-strip">
|
||||
|
|
Loading…
Reference in a new issue