From cf2dc742f46d1193127ad9a28fc730e69982a2d7 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 9 Oct 2013 16:11:42 -0700 Subject: We already try to link against libusb anyway No need for the special case here. Signed-off-by: Dirk Hohndel --- subsurface-configure.pri | 5 ----- 1 file changed, 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) { -- cgit v1.2.3-70-g09d2