summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStef Walter <stefw@gnome.org>2012-05-01 11:09:50 +0200
committerStef Walter <stefw@gnome.org>2012-05-01 11:09:50 +0200
commit14b0be4353e5c4464cb9f61e419a2f8caf8757d0 (patch)
tree64b8f0be876adee3821e705941209e2bfddbc739
parentfed549ee2049a318081cfce3fde01ae625263d98 (diff)
downloadp11-kit-14b0be4353e5c4464cb9f61e419a2f8caf8757d0.tar.gz
Fix test modules linking errors
* And display warning messages in the debug output
-rw-r--r--p11-kit/Makefile.am2
-rw-r--r--p11-kit/util.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/p11-kit/Makefile.am b/p11-kit/Makefile.am
index b1243c1..cba556e 100644
--- a/p11-kit/Makefile.am
+++ b/p11-kit/Makefile.am
@@ -68,6 +68,8 @@ libp11_kit_testable_la_CFLAGS = \
$(NULL)
libp11_kit_compat_la_SOURCES = \
+ debug.c debug.h \
+ messages.c \
util.c util.h \
$(top_srcdir)/common/compat.c \
$(top_srcdir)/common/compat.h
diff --git a/p11-kit/util.c b/p11-kit/util.c
index 033c775..89ecc40 100644
--- a/p11-kit/util.c
+++ b/p11-kit/util.c
@@ -190,6 +190,7 @@ _p11_message (const char* msg, ...)
if (print_messages)
fprintf (stderr, "p11-kit: %s\n", buffer);
+ _p11_debug_message (DEBUG_LIB, "message: %s", buffer);
store_message_buffer (buffer, length);
}