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 <tc@traviscross.com>
This commit is contained in:
James Le Cuirot 2014-04-07 22:46:47 +01:00 committed by Travis Cross
parent c86b939fb3
commit 23fe7f5c9f
1 changed files with 2 additions and 2 deletions

View File

@ -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