packages/net/freeswitch/patches/001-Makefile.am.patch
mazilo 1f07fff340 upated to latest git with additional modules
git-svn-id: svn://svn.openwrt.org/openwrt/packages@26966 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-21 14:21:16 +00:00

21 lines
558 B
Diff

--- a/Makefile.am
+++ b/Makefile.am
@@ -295,7 +295,7 @@ endif
##
fs_encode_SOURCES = src/fs_encode.c
fs_encode_CFLAGS = $(AM_CFLAGS)
-fs_encode_LDFLAGS = $(AM_LDFLAGS) $(CORE_LIBS)
+fs_encode_LDFLAGS = $(AM_LDFLAGS) -lpthread $(CORE_LIBS)
fs_encode_LDADD = libfreeswitch.la
##
@@ -303,7 +303,7 @@ fs_encode_LDADD = libfreeswitch.la
##
tone2wav_SOURCES = src/tone2wav.c
tone2wav_CFLAGS = $(AM_CFLAGS)
-tone2wav_LDFLAGS = $(AM_LDFLAGS) $(CORE_LIBS)
+tone2wav_LDFLAGS = $(AM_LDFLAGS) -lpthread $(CORE_LIBS)
tone2wav_LDADD = libfreeswitch.la
##