aboutsummaryrefslogtreecommitdiffstats
path: root/channels/Makefile
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-11-12 18:23:09 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-11-12 18:23:09 +0000
commit6724d21eac87b044ef0893e2799a799d288944ca (patch)
tree95bc02742774f1b40f858ec8e4551076ead06932 /channels/Makefile
parentaf4b5e70d6629393c8be839b611c551ff10e5c1f (diff)
Backport to iax
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1730 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/Makefile')
-rwxr-xr-xchannels/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/channels/Makefile b/channels/Makefile
index c297992b0..dfef65981 100755
--- a/channels/Makefile
+++ b/channels/Makefile
@@ -113,6 +113,13 @@ else
$(CC) $(SOLINK) -o $@ chan_iax2.o iax2-parser.o
endif
+chan_iax.so: chan_iax.o
+ifeq ($(USE_MYSQL_FRIENDS),1)
+ $(CC) $(SOLINK) -o $@ chan_iax.o -lmysqlclient -lz
+else
+ $(CC) $(SOLINK) -o $@ chan_iax.o
+endif
+
chan_zap.o: $(CHANZAP)
$(CC) -c $(CFLAGS) -o chan_zap.o $(CHANZAP)