aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/ncurses.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/ncurses.xml')
-rw-r--r--chapter06/ncurses.xml46
1 files changed, 35 insertions, 11 deletions
diff --git a/chapter06/ncurses.xml b/chapter06/ncurses.xml
index 34426d4b7..d9457c081 100644
--- a/chapter06/ncurses.xml
+++ b/chapter06/ncurses.xml
@@ -65,9 +65,10 @@ popd</userinput></screen>
--mandir=/usr/share/man \
--with-manpage-format=normal \
--with-shared \
+ --without-normal \
+ --with-cxx-shared \
--without-debug \
--without-ada \
- --without-normal \
--disable-stripping \
--enable-widec</userinput></screen>
@@ -84,6 +85,37 @@ popd</userinput></screen>
</varlistentry>
<varlistentry>
+ <term><parameter>--with-shared</parameter></term>
+ <listitem>
+ <para>This makes Ncurses build and install shared C libraries.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><parameter>--without-normal</parameter></term>
+ <listitem>
+ <para>This prevents Ncurses building and installing static C
+ libraries.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><parameter>--without-debug</parameter></term>
+ <listitem>
+ <para>This prevents Ncurses building and installing debug
+ libraries.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><parameter>--with-cxx-shared</parameter></term>
+ <listitem>
+ <para>This makes Ncurses build and install shared C++ bindings. It
+ also prevents it building and installing static C++ bindings.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><parameter>--without-ada</parameter></term>
<listitem>
<para>This ensures that Ncurses does not build support for the Ada
@@ -115,14 +147,6 @@ popd</userinput></screen>
</listitem>
</varlistentry>
- <varlistentry>
- <term><parameter>--without-normal</parameter></term>
- <listitem>
- <para>This switch disables building and installing most static libraries.
- </para>
- </listitem>
- </varlistentry>
-
</variablelist>
<para>Compile the package:</para>
@@ -133,12 +157,12 @@ popd</userinput></screen>
<screen><userinput remap="install">make DESTDIR=$LFS TIC_PATH=$(pwd)/build/progs/tic install
echo "INPUT(-lncursesw)" > $LFS/usr/lib/libncurses.so</userinput></screen>
-
+<!--
<para>Remove an unneeded static library not handled by
<command>configure</command>:</para>
<screen><userinput remap="install">rm -v $LFS/usr/lib/libncurses++w.a</userinput></screen>
-
+-->
<variablelist>
<title>The meaning of the install options:</title>