aboutsummaryrefslogtreecommitdiffstats
path: root/subsurface-configure.pri
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-10-09 16:11:42 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-10-09 16:11:42 -0700
commitcf2dc742f46d1193127ad9a28fc730e69982a2d7 (patch)
tree5f5c7357b46ddb961778fbd76846757d70752cd9 /subsurface-configure.pri
parent7db3093b1b900548cfdf1b528e12f9888d4250c8 (diff)
downloadsubsurface-cf2dc742f46d1193127ad9a28fc730e69982a2d7.tar.gz
We already try to link against libusb anyway
No need for the special case here. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-configure.pri')
-rw-r--r--subsurface-configure.pri5
1 files changed, 0 insertions, 5 deletions
diff --git a/subsurface-configure.pri b/subsurface-configure.pri
index 045c9b14f..d75af3c86 100644
--- a/subsurface-configure.pri
+++ b/subsurface-configure.pri
@@ -42,11 +42,6 @@ PKG_CONFIG_OUT = $$system(pkg-config --version 2> $$NUL)
# find it next to our sources
INCLUDEPATH += ../libdivecomputer/include
LIBS += ../libdivecomputer/src/.libs/libdivecomputer.a
- # Libusb-1.0 is only required if libdivecomputer was built with it.
- # And libdivecomputer is only built with it if libusb-1.0 is
- # installed. So get libusb if it exists, but don't complain
- # about it if it doesn't.
- LIBS += $$system(pkg-config --libs libusb-1.0 2> /dev/null)
} else:exists(/usr/local/lib/libdivecomputer.a) {
LIBS += /usr/local/lib/libdivecomputer.a
} else:exists(/usr/local/lib64/libdivecomputer.a) {