Fix usb libs for iscan

This commit is contained in:
Denis Silakov 2014-09-24 07:40:49 -04:00
parent 5109fc1e48
commit adc549917f

View file

@ -272,7 +272,6 @@ rm -f backend/dll.conf
%configure2_5x \ %configure2_5x \
--disable-static \ --disable-static \
--enable-rpath=no \ --enable-rpath=no \
--disable-libusb_1_0 \
%if !%{with gphoto2} %if !%{with gphoto2}
--without-gphoto2 --without-gphoto2
%endif %endif
@ -302,6 +301,7 @@ cd iscan-%{iscanversion}
sh ./bootstrap sh ./bootstrap
export CFLAGS="${RPM_OPT_FLAGS/-ffast-math/} -I`pwd`/../include -L`pwd`/../backend/ -fPIC" 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 CXXFLAGS="${RPM_OPT_FLAGS/-ffast-math/} -I`pwd`/../include -L`pwd`/../backend/ -fPIC"
export LIBUSB_1_0_LIBS="-lusb"
%configure2_5x \ %configure2_5x \
--disable-static \ --disable-static \
--disable-frontend --disable-frontend