From f364ed184b4310863eebfeae5bf69752a927876f Mon Sep 17 00:00:00 2001 From: Dmitry Podgorny Date: Thu, 30 Oct 2014 23:17:16 +0200 Subject: [PATCH] autotools: fixed building of check_parser By default libtool choose dynamic library for linking. Since non-public API is hidden in libstrophe.so check_parser has been broken. As solution libtool takes static libstophe.a now. --- Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.am b/Makefile.am index ad3a2b4..b78ada1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -63,3 +63,4 @@ tests_check_parser_SOURCES = tests/check_parser.c tests/test.h tests_check_parser_CFLAGS = @check_CFLAGS@ $(PARSER_CFLAGS) $(STROPHE_FLAGS) \ -I$(top_srcdir)/src tests_check_parser_LDADD = @check_LIBS@ $(STROPHE_LIBS) +tests_check_parser_LDFLAGS = -static