diff options
-rwxr-xr-x | libreoffice/build/libreoffice.SlackBuild | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/libreoffice/build/libreoffice.SlackBuild b/libreoffice/build/libreoffice.SlackBuild index f16b301a..5b1b725b 100755 --- a/libreoffice/build/libreoffice.SlackBuild +++ b/libreoffice/build/libreoffice.SlackBuild @@ -1839,12 +1839,14 @@ for file in $(ls $SRCDIR/profile.d/${PRGNAM}*) ; do done chmod 755 $PKG/etc/profile.d/* -# On Slackware older than 14.2+, also copy the libstdc++.so into the package, -# because the LibreOffice binaries will depend on it and a default Slackware -# will not contain this newer version (we use a newer version of gcc -# to compile libreoffice): +# On Slackware older than 14.2+, also copy the libgcc_s.so and libstdc++.so +# libraries into the package, because the LibreOffice binaries will +# depend on it and a default Slackware will not contain this newer version +# (we used a newer version of gcc to compile libreoffice): if [ -n "$(grep ^[^+]*$ /etc/slackware-version)" ]; then if [ $(cat /etc/slackware-version |cut -d' ' -f2 |cut -d. -f1) -le 14 ]; then + cp -ia /usr/lib${LIBDIRSUFFIX}/libgcc_s.so.* \ + $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM/program/ GLIBCXXLIB=$(readlink -f /usr/lib${LIBDIRSUFFIX}/libstdc++.so.6) cp -ia $GLIBCXXLIB $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM/program/ ln -s $(basename $GLIBCXXLIB) \ |