From ff1ddc3c3fbb30d5e2734c9747e2f0f63f8330d8 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Thu, 23 Jan 2014 09:15:30 +0100 Subject: libraries/mysql-connector-c++: Fixed library path on x86_64. Signed-off-by: Matteo Bernardini --- libraries/mysql-connector-c++/mysql-connector-c++.SlackBuild | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'libraries/mysql-connector-c++') 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 +# Copyright 2013-2014 Willy Sudiarto Raharjo # 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 -- cgit v1.2.3