summaryrefslogtreecommitdiff
path: root/libraries/libsexy
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libsexy')
-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