diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-01-23 09:15:30 +0100 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2014-01-29 23:20:28 -0600 |
commit | ff1ddc3c3fbb30d5e2734c9747e2f0f63f8330d8 (patch) | |
tree | 2479404e2cc595a9af47449f6faaa2749f3b06d2 | |
parent | f87461b53d6ca25590e01123b48c05b8f0799837 (diff) |
libraries/mysql-connector-c++: Fixed library path on x86_64.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-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 9986ad7bbd090..9df215f7af762 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 |