[packages] add preliminary freeswitch v1.0.4 package (closes: #4891)
[openwrt/svn-archive/archive.git] / net / freeswitch / patches / 202-pthread.patch
1 --- a/Makefile.am
2 +++ b/Makefile.am
3 @@ -196,7 +196,7 @@ fs_cli_LDFLAGS = $(AM_LDFLAGS) -lpthread
4 fs_ivrd_CFLAGS = $(AM_CFLAGS) -Ilibs/esl/src/include
5 fs_ivrd_LDFLAGS = $(AM_LDFLAGS) -lpthread $(ESL_LDFLAGS)
6 freeswitch_CFLAGS = $(AM_CFLAGS) $(CORE_CFLAGS)
7 -freeswitch_LDFLAGS = $(AM_LDFLAGS) -rpath $(libdir)
8 +freeswitch_LDFLAGS = $(AM_LDFLAGS) -lpthread -rpath $(libdir)
9 freeswitch_LDADD = libfreeswitch.la libs/apr/libapr-1.la
10 if ADD_LIBEDIT
11 fs_cli_CFLAGS += -DHAVE_EDITLINE -Ilibs/libedit/src
12 --- a/Makefile.in
13 +++ b/Makefile.in
14 @@ -578,7 +578,7 @@ fs_cli_LDFLAGS = $(AM_LDFLAGS) -lpthread
15 fs_ivrd_CFLAGS = $(AM_CFLAGS) -Ilibs/esl/src/include
16 fs_ivrd_LDFLAGS = $(AM_LDFLAGS) -lpthread $(ESL_LDFLAGS)
17 freeswitch_CFLAGS = $(AM_CFLAGS) $(CORE_CFLAGS) $(am__append_2)
18 -freeswitch_LDFLAGS = $(AM_LDFLAGS) -rpath $(libdir)
19 +freeswitch_LDFLAGS = $(AM_LDFLAGS) -lpthread -rpath $(libdir)
20 freeswitch_LDADD = libfreeswitch.la libs/apr/libapr-1.la \
21 $(am__append_3)
22 @ADD_LIBEDIT_TRUE@fs_cli_LDADD = libs/libedit/src/.libs/libedit.a