diff options
-rw-r--r-- | libraries/mysql-connector-c++/mysql-connector-c++.SlackBuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libraries/mysql-connector-c++/mysql-connector-c++.SlackBuild b/libraries/mysql-connector-c++/mysql-connector-c++.SlackBuild index 9986ad7bbd..9df215f7af 100644 --- a/libraries/mysql-connector-c++/mysql-connector-c++.SlackBuild +++ b/libraries/mysql-connector-c++/mysql-connector-c++.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for mysql-connector-c++ -# Copyright 2013 Willy Sudiarto Raharjo <willysr@slackware-id.org> +# Copyright 2013-2014 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ PRGNAM=mysql-connector-c++ VERSION=${VERSION:-1.1.3} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -82,6 +82,10 @@ cd build make install DESTDIR=$PKG cd .. +if [ "$ARCH" = "x86_64" ]; then + mv $PKG/usr/lib/ $PKG/usr/lib${LIBDIRSUFFIX}/ +fi + find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |