internals/finish: do not remove ${PREFIX}/include
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Apr 24 15:39:53 2011 +0200 (2011-04-24)
changeset 2408560670f2ce09
parent 2407 ce9168b4af1e
child 2409 15f5f431ec9e
internals/finish: do not remove ${PREFIX}/include

gcc installs the C++ headers in ${PREFIX}/include/ but we trash
that directory at the end of the build.

We previously removed that directory as it contained the companion
libraries header files. But it's been some time now that we isntall
the companion libraries in their own dedicated place, so we do not
need to remove that directory.

Until we have a better fix, just keep that directory for now.

Reported-by: Bob Rossi <bob@brasko.net>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
scripts/build/internals.sh
     1.1 --- a/scripts/build/internals.sh	Wed Apr 20 19:21:39 2011 +0200
     1.2 +++ b/scripts/build/internals.sh	Sun Apr 24 15:39:53 2011 +0200
     1.3 @@ -98,9 +98,6 @@
     1.4          CT_DoForceRmdir "${CT_DEBUGROOT_DIR}/"{,usr/}{,share/}{man,info}
     1.5      fi
     1.6  
     1.7 -    # Remove headers installed by native companion libraries
     1.8 -    CT_DoForceRmdir "${CT_PREFIX_DIR}/include"
     1.9 -
    1.10      # Remove the lib* symlinks, now:
    1.11      # The symlinks are needed only during the build process.
    1.12      # The final gcc will still search those dirs, but will also search