summaryrefslogtreecommitdiffstats
path: root/system/qemu/qemu.SlackBuild
diff options
context:
space:
mode:
author Robby Workman2016-01-03 06:58:45 +0100
committer Willy Sudiarto Raharjo2016-01-17 03:40:16 +0100
commit83cbc71ea2b02e9ab3108fa20b42b4d6c2cbe063 (patch)
treed6db0bbcf36514c73a0d3cbdb87c656e6ea7f0fc /system/qemu/qemu.SlackBuild
parent6db532a65a8bd39abdf18d512f70457a6d84490c (diff)
downloadslackbuilds-83cbc71ea2b02e9ab3108fa20b42b4d6c2cbe063.tar.gz
system/qemu: Kill static libusb support (not needed with 14.2)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/qemu/qemu.SlackBuild')
-rw-r--r--system/qemu/qemu.SlackBuild21
1 files changed, 0 insertions, 21 deletions
diff --git a/system/qemu/qemu.SlackBuild b/system/qemu/qemu.SlackBuild
index 088892736f..26e3cac2a9 100644
--- a/system/qemu/qemu.SlackBuild
+++ b/system/qemu/qemu.SlackBuild
@@ -54,7 +54,6 @@ KVMGROUP=${KVMGROUP:-users}
TARGETS=${TARGETS:-some}
VNC_ENABLE=${VNC_ENABLE:-yes}
AUDIODRIVERS=${AUDIODRIVERS:-alsa,oss,sdl}
-LIBUSB=${LIBUSB:-no}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -122,26 +121,6 @@ else
with_vnc="--disable-vnc"
fi
-# Build libusb-1.0.19 statically so that usb passthrough will work;
-# not needed if you upgrade the default libdir.
-USBSTATIC=""
-if [ "$LIBUSB" = "yes" ]; then
- tar xf $CWD/libusb-1.0.19.tar.xz
- cd libusb-1.0.19
- CFLAGS="$SLKCFLAGS" \
- ./configure \
- --prefix=$TMP/$PRGNAM-$VERSION/libusb-static \
- --build=$ARCH-slackware-linux \
- --disable-shared \
- --enable-static
- make install
- cd ..
- sed -i 's/--cflags libusb-1.0/\0 --static/' configure
- sed -i 's/--libs libusb-1.0/\0 --static/' configure
- USBSTATIC="$TMP/$PRGNAM-$VERSION/libusb-static/lib/pkgconfig"
-fi
-
-PKG_CONFIG_PATH+="${USBSTATIC}" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \