--- libpurple/protocols/irc/Makefile.am	2013-02-14 02:44:47.000000000 +0200
+++ libpurple/protocols/irc/Makefile.am	2013-02-14 02:49:58.000000000 +0200
@@ -27,7 +27,7 @@ else
 st =
 pkg_LTLIBRARIES   = libirc.la
 libirc_la_SOURCES = $(IRCSOURCES)
-libirc_la_LIBADD  = $(GLIB_LIBS)
+libirc_la_LIBADD  = $(GLIB_LIBS) $(SASL_LIBS)
 
 endif
 
