From 3e48f862a7f3646d9754a46965f5876868f1cac7 Mon Sep 17 00:00:00 2001 From: Mark Spencer Date: Fri, 30 Apr 2004 01:09:52 +0000 Subject: [PATCH] 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 --- channels/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/channels/Makefile b/channels/Makefile index e47f369479..16c9d6c539 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