From: James Le Cuirot Date: Mon, 7 Apr 2014 21:46:47 +0000 (+0100) Subject: Add libyaml pkg-config LIBS to LIBADD not LDFLAGS X-Git-Tag: v1.5.12~198 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23fe7f5c9f1318af12fb5e6399749a969fd43cfb;p=thirdparty%2Ffreeswitch.git 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 --- 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