Work properly with USE_SIP_MYSQL_FRIENDS set to 1 for linking
authorMark Spencer <markster@digium.com>
Fri, 30 Apr 2004 01:09:52 +0000 (01:09 +0000)
committerMark Spencer <markster@digium.com>
Fri, 30 Apr 2004 01:09:52 +0000 (01:09 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2826 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/Makefile

index e47f369..16c9d6c 100755 (executable)
@@ -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