update patches
[packages.git] / net / freeswitch / patches / 001-Makefile.am.patch
1 --- a/Makefile.am
2 +++ b/Makefile.am
3 @@ -292,7 +292,7 @@ endif
4  ##
5  fs_encode_SOURCES = src/fs_encode.c
6  fs_encode_CFLAGS = $(AM_CFLAGS)
7 -fs_encode_LDFLAGS = $(AM_LDFLAGS) $(CORE_LIBS)
8 +fs_encode_LDFLAGS = $(AM_LDFLAGS) -lpthread $(CORE_LIBS)
9  fs_encode_LDADD = libfreeswitch.la
10  
11  ##
12 @@ -300,7 +300,7 @@ fs_encode_LDADD = libfreeswitch.la
13  ##
14  tone2wav_SOURCES = src/tone2wav.c
15  tone2wav_CFLAGS  = $(AM_CFLAGS)
16 -tone2wav_LDFLAGS = $(AM_LDFLAGS) $(CORE_LIBS)
17 +tone2wav_LDFLAGS = $(AM_LDFLAGS) -lpthread $(CORE_LIBS)
18  tone2wav_LDADD   = libfreeswitch.la
19  
20  ##