]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Add libyaml pkg-config LIBS to LIBADD not LDFLAGS
authorJames Le Cuirot <chewi@aura-online.co.uk>
Mon, 7 Apr 2014 21:46:47 +0000 (22:46 +0100)
committerTravis Cross <tc@traviscross.com>
Fri, 11 Apr 2014 22:53:14 +0000 (22:53 +0000)
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>
src/mod/languages/mod_yaml/Makefile.am

index e0aa07db315b3393066c581879a87ac2b9e43b9d..9d02a0fbc15c5d5e43de9533406ddfd883b5c789 100644 (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