summaryrefslogtreecommitdiff
path: root/channels/Makefile
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2004-04-30 01:09:52 +0000
committerMark Spencer <markster@digium.com>2004-04-30 01:09:52 +0000
commit3e48f862a7f3646d9754a46965f5876868f1cac7 (patch)
tree0079771559592606ae1beae7020dba3329a831ec /channels/Makefile
parent722f92e8346ddd428b2b671ec4279af3281badc8 (diff)
Work properly with USE_SIP_MYSQL_FRIENDS set to 1 for linking
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2826 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/Makefile')
-rwxr-xr-xchannels/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/channels/Makefile b/channels/Makefile
index e47f36947..16c9d6c53 100755
--- a/channels/Makefile
+++ b/channels/Makefile
@@ -151,6 +151,8 @@ chan_zap.so: chan_zap.o
chan_sip.so: chan_sip.o
ifeq ($(USE_MYSQL_FRIENDS),1)
$(CC) $(SOLINK) -o $@ chan_sip.o $(MYSQLLIB) -lz
+elifeq ($(USE_SIP_MYSQL_FRIENDS),1)
+ $(CC) $(SOLINK) -o $@ chan_sip.o $(MYSQLLIB) -lz
else
$(CC) $(SOLINK) -o $@ chan_sip.o
endif