summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorRobby Workman <rw@rlworkman.net>2010-05-12 17:41:43 +0200
committerMichiel van Wessem <michiel@slackbuilds.org>2010-05-12 17:41:43 +0200
commitca6c30d8317e0e8b83e67c63d66839ba04dd15c4 (patch)
treeb7c03c48898901e97ae1808de92606c07f5eb1e4 /libraries
parentce629107a45b69962c3a124d5f7ba929c7ae9e17 (diff)
downloadslackbuilds-ca6c30d8317e0e8b83e67c63d66839ba04dd15c4.tar.gz
libraries/libsexy: Updated for version 0.1.11
Diffstat (limited to 'libraries')
-rw-r--r--libraries/libsexy/libsexy.SlackBuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/libraries/libsexy/libsexy.SlackBuild b/libraries/libsexy/libsexy.SlackBuild
index 47072f82cb..2772ba9813 100644
--- a/libraries/libsexy/libsexy.SlackBuild
+++ b/libraries/libsexy/libsexy.SlackBuild
@@ -35,8 +35,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
set -e
@@ -58,6 +63,7 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--disable-static