Magellan Linux

Diff of /trunk/include/gcc-toolchain.sminc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 33305 by niro, Tue Jul 23 22:30:24 2019 UTC revision 33306 by niro, Tue Oct 29 21:07:32 2019 UTC
# Line 64  keep_dev_package_libs() Line 64  keep_dev_package_libs()
64  {  {
65   local libs="$@"   local libs="$@"
66    
67   # cleanup, only keep the libs, everything else get provided by the dev-package   # run zapmost only if the directories exists, which fixes empy libvtv issues
68   zapmost ${BINDIR}/usr/$(mlibdir) "${libs}" || die   if [[ -d ${BINDIR}/usr/$(mlibdir) ]]
69     then
70     # cleanup, only keep the libs, everything else get provided by the dev-package
71     zapmost ${BINDIR}/usr/$(mlibdir) "${libs}" || die
72     fi
73   # multilib as well   # multilib as well
74   if [[ $(mlibdir) != lib ]] && [[ -d ${BINDIR}/usr/lib ]]   if [[ $(mlibdir) != lib ]] && [[ -d ${BINDIR}/usr/lib ]]
75   then   then
# Line 84  delete_dev_package_libs() Line 88  delete_dev_package_libs()
88   # cleanup, the solibs are provided by the non-dev package   # cleanup, the solibs are provided by the non-dev package
89   for i in ${libs}   for i in ${libs}
90   do   do
91   rm ${BINDIR}/usr/$(mlibdir)/${i} || die   # run cleanup only if the directories exists, which fixes empy libvtv issues
92     if [[ -d ${BINDIR}/usr/$(mlibdir) ]]
93     then
94     rm ${BINDIR}/usr/$(mlibdir)/${i} || die
95     fi
96   # multilib as well   # multilib as well
97   if [[ $(mlibdir) != lib ]] && [[ -d ${BINDIR}/usr/lib ]]   if [[ $(mlibdir) != lib ]] && [[ -d ${BINDIR}/usr/lib ]]
98   then   then

Legend:
Removed from v.33305  
changed lines
  Added in v.33306