From 23fe7f5c9f1318af12fb5e6399749a969fd43cfb Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Mon, 7 Apr 2014 22:46:47 +0100 Subject: [PATCH] Add libyaml pkg-config LIBS to LIBADD not LDFLAGS Per the automake manual these should go in LIBADD. http://www.gnu.org/software/automake/manual/html_node/Program-and-Library-Variables.html FS-353 Signed-off-by: Travis Cross --- src/mod/languages/mod_yaml/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mod/languages/mod_yaml/Makefile.am b/src/mod/languages/mod_yaml/Makefile.am index e0aa07db31..9d02a0fbc1 100644 --- a/src/mod/languages/mod_yaml/Makefile.am +++ b/src/mod/languages/mod_yaml/Makefile.am @@ -7,8 +7,8 @@ mod_LTLIBRARIES = mod_yaml.la mod_yaml_la_SOURCES = mod_yaml.c mod_yaml_la_CFLAGS = $(AM_CFLAGS) mod_yaml_la_CPPFLAGS = $(AM_CPPFLAGS) $(YAML_CFLAGS) -mod_yaml_la_LIBADD = $(switch_builddir)/libfreeswitch.la -mod_yaml_la_LDFLAGS = -avoid-version -module -no-undefined -shared $(YAML_LIBS) +mod_yaml_la_LIBADD = $(switch_builddir)/libfreeswitch.la $(YAML_LIBS) +mod_yaml_la_LDFLAGS = -avoid-version -module -no-undefined -shared else install: error