Changeset e4c820ab for chapter08


Ignore:
Timestamp:
06/30/2022 03:44:34 PM (23 months ago)
Author:
William Harrington <kb0iic@…>
Branches:
arm
Children:
90d2508
Parents:
8e9d4bf
git-author:
Pierre Labastie <pierre.labastie@…> (06/29/2022 12:08:29 PM)
git-committer:
William Harrington <kb0iic@…> (06/30/2022 03:44:34 PM)
Message:

Generate shared C++ bindings for ncurses

Presently we let the build system generate static C++ bindings, and
then we remove them. Note that we could also prevent generating
any C++ binding, since nothing in LFS/BLFS use them, but it seems to
me that generating the shared ones is closer to what is done for
other packages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/ncurses.xml

    r8e9d4bf re4c820ab  
    4949            --without-debug         \
    5050            --without-normal        \
     51            --with-cxx-shared       \
    5152            --enable-pc-files       \
    5253            --enable-widec          \
     
    5556    <variablelist>
    5657      <title>The meaning of the new configure options:</title>
     58
     59      <varlistentry>
     60        <term><parameter>--with-shared</parameter></term>
     61        <listitem>
     62          <para>This makes Ncurses build and install shared C libraries.</para>
     63        </listitem>
     64      </varlistentry>
     65
     66      <varlistentry>
     67        <term><parameter>--without-normal</parameter></term>
     68        <listitem>
     69          <para>This prevents Ncurses building and installing static C
     70          libraries.</para>
     71        </listitem>
     72      </varlistentry>
     73
     74      <varlistentry>
     75        <term><parameter>--without-debug</parameter></term>
     76        <listitem>
     77          <para>This prevents Ncurses building and installing debug
     78          libraries.</para>
     79        </listitem>
     80      </varlistentry>
     81
     82      <varlistentry>
     83        <term><parameter>--with-cxx-shared</parameter></term>
     84        <listitem>
     85          <para>This makes Ncurses build and install shared C++ bindings. It
     86          also prevents it building and installing static C++ bindings.</para>
     87        </listitem>
     88      </varlistentry>
     89
     90      <varlistentry>
     91        <term><parameter>--enable-pc-files</parameter></term>
     92        <listitem>
     93          <para>This switch generates and installs .pc files for pkg-config.
     94          </para>
     95        </listitem>
     96      </varlistentry>
    5797
    5898      <varlistentry>
     
    70110      </varlistentry>
    71111
    72       <varlistentry>
    73         <term><parameter>--enable-pc-files</parameter></term>
    74         <listitem>
    75           <para>This switch generates and installs .pc files for pkg-config.
    76           </para>
    77         </listitem>
    78       </varlistentry>
    79 
    80       <varlistentry>
    81         <term><parameter>--without-normal</parameter></term>
    82         <listitem>
    83           <para>This switch disables building and installing most static libraries.
    84           </para>
    85         </listitem>
    86       </varlistentry>
    87 
    88112    </variablelist>
    89113
     
    113137<screen><userinput remap="install">make DESTDIR=$PWD/dest install
    114138install -vm755 dest/usr/lib/libncursesw.so.&ncurses-version; /usr/lib
    115 rm -v  dest/usr/lib/{libncursesw.so.&ncurses-version;,libncurses++w.a}
     139rm -v  dest/usr/lib/libncursesw.so.&ncurses-version;
    116140cp -av dest/* /</userinput></screen>
    117141
Note: See TracChangeset for help on using the changeset viewer.