Vincent Povirk vincent@codeweavers.com writes:
Signed-off-by: Vincent Povirk vincent@codeweavers.com
dlls/sane.ds/ds_ctrl.c | 19 ++++--------------- dlls/sane.ds/sane_i.h | 5 +++-- dlls/sane.ds/sane_main.c | 48 +++++++++++++++++++++++++++++++++++++++++++++++- dlls/sane.ds/ui.c | 6 ++---- include/twain.h | 24 ++++++++++++++++++++++++ 5 files changed, 80 insertions(+), 22 deletions(-)
This breaks the build when libsane is missing:
ds_ctrl.o: In function `SANE_EnableDSUserInterface': /home/julliard/wine/build/obj-pe32/dlls/sane.ds/../../../wine/dlls/sane.ds/ds_ctrl.c:421: undefined reference to `SANE_Notify' /home/julliard/wine/build/obj-pe32/dlls/sane.ds/../../../wine/dlls/sane.ds/ds_ctrl.c:407: undefined reference to `SANE_Notify' sane_main.o: In function `DS_Entry@20': /home/julliard/wine/build/obj-pe32/dlls/sane.ds/../../../wine/dlls/sane.ds/sane_main.c:189: undefined reference to `SANE_SetEntryPoint' collect2: error: ld returned 1 exit status winegcc: i686-w64-mingw32-gcc failed