kopia lustrzana https://gitlab.com/sane-project/backends
Merge branch '124-configure-disable-shared-errors-out-linking-scanimage' into 'release/1.0.32'
Resolve "./configure --disable-shared errors out linking scanimage" See merge request sane-project/backends!586261-fix-manual-page-to-html-conversion
commit
5db03a0593
|
@ -1262,7 +1262,7 @@ EXTRA_DIST += dll.aliases
|
|||
# what backends are preloaded. It should include what is needed by
|
||||
# those backends that are actually preloaded.
|
||||
if preloadable_backends_enabled
|
||||
PRELOADABLE_BACKENDS_LIBS = ../sanei/sanei_config2.lo ../sanei/sanei_usb.lo ../sanei/sanei_scsi.lo ../sanei/sanei_pv8630.lo ../sanei/sanei_pp.lo ../sanei/sanei_thread.lo ../sanei/sanei_lm983x.lo ../sanei/sanei_access.lo ../sanei/sanei_net.lo ../sanei/sanei_wire.lo ../sanei/sanei_codec_bin.lo ../sanei/sanei_pa4s2.lo ../sanei/sanei_ab306.lo ../sanei/sanei_pio.lo ../sanei/sanei_tcp.lo ../sanei/sanei_udp.lo ../sanei/sanei_magic.lo $(LIBV4L_LIBS) $(MATH_LIB) $(IEEE1284_LIBS) $(TIFF_LIBS) $(JPEG_LIBS) $(GPHOTO2_LIBS) $(SOCKET_LIBS) $(USB_LIBS) $(AVAHI_LIBS) $(SCSI_LIBS) $(SANEI_THREAD_LIBS) $(RESMGR_LIBS) $(XML_LIBS)
|
||||
PRELOADABLE_BACKENDS_LIBS = ../sanei/sanei_config2.lo ../sanei/sanei_usb.lo ../sanei/sanei_scsi.lo ../sanei/sanei_pv8630.lo ../sanei/sanei_pp.lo ../sanei/sanei_thread.lo ../sanei/sanei_lm983x.lo ../sanei/sanei_access.lo ../sanei/sanei_net.lo ../sanei/sanei_wire.lo ../sanei/sanei_codec_bin.lo ../sanei/sanei_pa4s2.lo ../sanei/sanei_ab306.lo ../sanei/sanei_pio.lo ../sanei/sanei_tcp.lo ../sanei/sanei_udp.lo ../sanei/sanei_magic.lo $(LIBV4L_LIBS) $(MATH_LIB) $(IEEE1284_LIBS) $(TIFF_LIBS) $(JPEG_LIBS) $(GPHOTO2_LIBS) $(SOCKET_LIBS) $(USB_LIBS) $(AVAHI_LIBS) $(SCSI_LIBS) $(SANEI_THREAD_LIBS) $(RESMGR_LIBS) $(PNG_LIBS) $(POPPLER_GLIB_LIBS) $(XML_LIBS) $(libcurl_LIBS) $(SNMP_LIBS)
|
||||
PRELOADABLE_BACKENDS_DEPS = ../sanei/sanei_config2.lo ../sanei/sanei_usb.lo ../sanei/sanei_scsi.lo ../sanei/sanei_pv8630.lo ../sanei/sanei_pp.lo ../sanei/sanei_thread.lo ../sanei/sanei_lm983x.lo ../sanei/sanei_access.lo ../sanei/sanei_net.lo ../sanei/sanei_wire.lo ../sanei/sanei_codec_bin.lo ../sanei/sanei_pa4s2.lo ../sanei/sanei_ab306.lo ../sanei/sanei_pio.lo ../sanei/sanei_tcp.lo ../sanei/sanei_udp.lo ../sanei/sanei_magic.lo $(SANEI_SANEI_JPEG_LO)
|
||||
endif
|
||||
nodist_libsane_la_SOURCES = dll-s.c
|
||||
|
|
|
@ -22,6 +22,9 @@
|
|||
#define BACKEND_NAME epson2
|
||||
#define DEBUG_NOT_STATIC
|
||||
|
||||
#define mode_params epson2_mode_params
|
||||
#define source_list epson2_source_list
|
||||
|
||||
#ifdef HAVE_SYS_IOCTL_H
|
||||
#include <sys/ioctl.h>
|
||||
#endif
|
||||
|
|
|
@ -18,6 +18,9 @@
|
|||
#define BACKEND_NAME epsonds
|
||||
#define DEBUG_NOT_STATIC
|
||||
|
||||
#define mode_params epsonds_mode_params
|
||||
#define source_list epsonds_source_list
|
||||
|
||||
#ifdef HAVE_SYS_IOCTL_H
|
||||
#include <sys/ioctl.h>
|
||||
#endif
|
||||
|
|
|
@ -31,5 +31,18 @@ test_LDADD = ../lib/liblib.la ../backend/libsane.la
|
|||
tstbackend_SOURCES = tstbackend.c
|
||||
tstbackend_LDADD = ../lib/liblib.la ../backend/libsane.la
|
||||
|
||||
if preloadable_backends_enabled
|
||||
if WITH_GENESYS_TESTS
|
||||
## Because the genesys backend is implemented in C++, programs need
|
||||
## to link against the standard C++ library. The work-around below
|
||||
## will work for the GNU C++ compiler with the GNU standard library
|
||||
## for C++. Other build scenarios may need work.
|
||||
scanimage_LDADD += -lstdc++
|
||||
saned_LDADD += -lstdc++
|
||||
test_LDADD += -lstdc++
|
||||
tstbackend_LDADD += -lstdc++
|
||||
endif
|
||||
endif
|
||||
|
||||
clean-local:
|
||||
rm -f test tstbackend
|
||||
|
|
Ładowanie…
Reference in New Issue