diff options
Diffstat (limited to 'source/l')
-rwxr-xr-x | source/l/SDL2/SDL2.SlackBuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/source/l/SDL2/SDL2.SlackBuild b/source/l/SDL2/SDL2.SlackBuild index 6f576b85..0599ad64 100755 --- a/source/l/SDL2/SDL2.SlackBuild +++ b/source/l/SDL2/SDL2.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=SDL2 VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-3} +BUILD=${BUILD:-4} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -102,7 +102,11 @@ make $NUMJOBS || make || exit 1 make install DESTDIR=$PKG || exit 1 # Don't package the static libraries: -rm -f $PKG/usr/lib${LIBDIRSUFFIX}/*.a +( cd $PKG/usr/lib${LIBDIRSUFFIX} + for file in *.so ; do + rm -f $(basename $file .so).a + done +) # Don't package .la files: rm -f $PKG/usr/lib${LIBDIRSUFFIX}/*.la |