From: Mark Spencer Date: Fri, 30 Apr 2004 01:09:52 +0000 (+0000) Subject: Work properly with USE_SIP_MYSQL_FRIENDS set to 1 for linking X-Git-Tag: 1.0.0-rc1~618 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3e48f862a7f3646d9754a46965f5876868f1cac7;p=thirdparty%2Fasterisk.git 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 --- 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