This allows people to use libmemcached from their application without
SASL support without having to link with the sasl libraries themselves
Patch supplied by Remi Collet <Fedora@FamilleCollet.com>
endif
if HAVE_SASL
-libmemcached_libmemcached_la_LDFLAGS+= $(LIBSASL)
+libmemcached_libmemcached_la_LDFLAGS+= $(LTLIBSASL) $(LTLIBSASL2)
libmemcached_libmemcached_la_SOURCES += libmemcached/sasl.c
endif
Name: libmemcached
Description: libmemcached C library.
Version: @VERSION@
-Libs: -L${libdir} -lmemcached
+Libs: @LTLIBSASL@ @LTLIBSASL2@ -L${libdir} -lmemcached
Cflags: -I${includedir}