diff --git a/sane.spec b/sane.spec index d146f2f..d959dd4 100644 --- a/sane.spec +++ b/sane.spec @@ -272,7 +272,6 @@ rm -f backend/dll.conf %configure2_5x \ --disable-static \ --enable-rpath=no \ - --disable-libusb_1_0 \ %if !%{with gphoto2} --without-gphoto2 %endif @@ -302,6 +301,7 @@ cd iscan-%{iscanversion} sh ./bootstrap export CFLAGS="${RPM_OPT_FLAGS/-ffast-math/} -I`pwd`/../include -L`pwd`/../backend/ -fPIC" export CXXFLAGS="${RPM_OPT_FLAGS/-ffast-math/} -I`pwd`/../include -L`pwd`/../backend/ -fPIC" +export LIBUSB_1_0_LIBS="-lusb" %configure2_5x \ --disable-static \ --disable-frontend