diff --git a/chapter06/ncurses.xml b/chapter06/ncurses.xml index c21cd7056..8f7f102f9 100644 --- a/chapter06/ncurses.xml +++ b/chapter06/ncurses.xml @@ -209,9 +209,10 @@ CXX="$LFS_TGT-g++ -m32" \ --libdir=/usr/lib32 \ --mandir=/usr/share/man \ --with-shared \ + --without-normal \ + --with-cxx-shared \ --without-debug \ --without-ada \ - --without-normal \ --disable-stripping \ --enable-widec @@ -248,9 +249,10 @@ CXX="$LFS_TGT-g++ -mx32" \ --libdir=/usr/libx32 \ --mandir=/usr/share/man \ --with-shared \ + --without-normal \ + --with-cxx-shared \ --without-debug \ --without-ada \ - --without-normal \ --disable-stripping \ --enable-widec diff --git a/chapter08/ncurses.xml b/chapter08/ncurses.xml index 5df908c6d..06b5f5a72 100644 --- a/chapter08/ncurses.xml +++ b/chapter08/ncurses.xml @@ -173,10 +173,11 @@ cp -v -R doc/* /usr/share/doc/ncurses-&ncurses-version; following commands: make distclean -./configure --prefix=/usr \ - --with-shared \ - --without-normal \ - --without-debug \ +./configure --prefix=/usr \ + --with-shared \ + --without-normal \ + --with-cxx-shared \ + --without-debug \ --without-cxx-binding \ --with-abi-version=5 make sources libs @@ -205,6 +206,7 @@ cp -av lib/lib*.so.5* /usr/lib --with-shared \ --without-debug \ --without-normal \ + --with-cxx-shared \ --enable-pc-files \ --enable-widec \ --with-pkg-config-libdir=/usr/lib32/pkgconfig