From 6f612d4f4d2fd9f00c93986d97ebfee1256a1ff4 Mon Sep 17 00:00:00 2001 From: James Booth Date: Mon, 14 Dec 2015 00:28:37 +0000 Subject: [PATCH] Add -no-undefined to LDFLAGS --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index a16f6e3..18906ae 100644 --- a/Makefile.am +++ b/Makefile.am @@ -16,7 +16,7 @@ STROPHE_LIBS = libstrophe.la lib_LTLIBRARIES = libstrophe.la libstrophe_la_CFLAGS = $(SSL_CFLAGS) $(STROPHE_FLAGS) $(PARSER_CFLAGS) -libstrophe_la_LDFLAGS = $(SSL_LIBS) $(PARSER_LIBS) +libstrophe_la_LDFLAGS = $(SSL_LIBS) $(PARSER_LIBS) -no-undefined # Export only public API libstrophe_la_LDFLAGS += -export-symbols-regex '^xmpp_' libstrophe_la_SOURCES = src/auth.c src/conn.c src/ctx.c \