diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-01-22 16:29:02 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-01-22 16:29:02 +0000 |
commit | fbf90f5d360ab6535482b7d8a46a36f28c60fe25 (patch) | |
tree | d5f236eaa3a144d54d92634f1158085e845da9e2 /channels/Makefile | |
parent | 5be85a536e76e74b43b9cd98c273998bc0f519af (diff) |
Merge SIP/MySQL friends patch
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2053 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/Makefile')
-rwxr-xr-x | channels/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/channels/Makefile b/channels/Makefile index 0c04a1629..3819e27e6 100755 --- a/channels/Makefile +++ b/channels/Makefile @@ -13,7 +13,7 @@ OSARCH=$(shell uname -s) -USE_MYSQL_FRIENDS=0 +USE_MYSQL_FRIENDS=1 CHANNEL_LIBS=chan_modem.so chan_iax.so chan_sip.so \ chan_modem_aopen.so \ @@ -113,7 +113,7 @@ endif chan_iax.so: chan_iax.o ifeq ($(USE_MYSQL_FRIENDS),1) - $(CC) $(SOLINK) -o $@ chan_iax.o -lmysqlclient -lz + $(CC) $(SOLINK) -o $@ chan_iax.o -L/usr/lib/mysql -lmysqlclient -lz else $(CC) $(SOLINK) -o $@ chan_iax.o endif @@ -124,6 +124,13 @@ chan_zap.o: chan_zap.c chan_zap.so: chan_zap.o $(CC) $(SOLINK) -o $@ $< $(ZAPPRI) $(ZAPR2) -ltonezone +chan_sip.so: chan_sip.o +ifeq ($(USE_MYSQL_FRIENDS),1) + $(CC) $(SOLINK) -o $@ chan_sip.o -L/usr/lib/mysql -lmysqlclient -lz +else + $(CC) $(SOLINK) -o $@ chan_sip.o +endif + chan_alsa.o: $(ALSA_SRC) |