]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[fsxs] Remove APR and APR-UTIL libraries from fsxs LIBS variable.
authorStefan Knoblich <s.knoblich@axsentis.de>
Sun, 23 Jan 2011 00:42:39 +0000 (01:42 +0100)
committerStefan Knoblich <s.knoblich@axsentis.de>
Sun, 23 Jan 2011 00:42:39 +0000 (01:42 +0100)
"LIBS" in the final fsxs script will be empty now.
We still link against libfreeswitch when building a module,
but we don't explicitly list (some of) its dependency libs anymore
(this list was not complete anyway).

This fixes a bogus /path_to_source/expat.la entry in LIBS that
came from "apu-config --libs".

Tested on Gentoo x86_64 (binutils 2.20.1) and Centos 5.5 (binutils 2.17.50).

Tested-by: Stefan Knoblich <s.knoblich@axsentis.de>
Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
Makefile.am

index 8d35068c350070aa8362ed0cfb9a519de7bf4b5a..37a01d27fb4f2f56b2811f47c01e6fa336cbd33b 100644 (file)
@@ -349,7 +349,7 @@ scripts/fsxs: scripts/fsxs.in
            -e "s|@INCLUDES\@|-I$(prefix)/include|" \
            -e "s|@SOLINK\@|$(SOLINK)|" \
            -e "s|@LDFLAGS\@|-L$(prefix)/lib|" \
-           -e "s|@LIBS\@|`./libs/apr/apr-1-config --libs` `./libs/apr-util/apu-1-config --libs`|" \
+           -e "s|@LIBS\@||" \
            $(top_srcdir)/scripts/fsxs.in > scripts/fsxs
 
 ##