mirror of
https://abf.rosa.ru/djam/sane.git
synced 2025-02-24 01:33:01 +00:00
Fix usb libs for iscan
This commit is contained in:
parent
5109fc1e48
commit
adc549917f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue