From 0ceeeafa41d68423f06e09e7be25e272abf0b4fd Mon Sep 17 00:00:00 2001 From: Mark Spencer Date: Fri, 16 May 2003 20:57:12 +0000 Subject: [PATCH] Makefile fix git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1031 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/Makefile b/apps/Makefile index 8a14c55587..0e535f690e 100755 --- a/apps/Makefile +++ b/apps/Makefile @@ -55,9 +55,12 @@ app_todd.so: app_todd.o ifeq (${USE_MYSQL_VM_INTERFACE}, 1) app_voicemail2.o: app_voicemail2.c $(CC) -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -O6 -g -Iinclude -I../include -DUSEMYSQLVM=\"1\" -D_REENTRANT -D_GNU_SOURCE -march=i686 -DASTERISK_VERSION=\"CVS-07/21/02-14:49:14\" -DDO_CRASH -DDEBUG_THREADS -c -o app_voicemail2.o app_voicemail2.c -else + app_voicemail2.so : app_voicemail2.o $(CC) -shared -Xlinker -x -o $@ $< -L/usr/lib/mysql -lmysqlclient +else +app_voicemail2.so : app_voicemail2.o + $(CC) -shared -Xlinker -x -o $@ $< endif app_sql_postgres.o: app_sql_postgres.c