aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-05-16 20:57:12 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-05-16 20:57:12 +0000
commite5d313185f0945a220df2c824071f11517590fd5 (patch)
tree0e72dca6efe25ca3ff58ae3683e04c2313674eda /apps
parent1bf12f001e8f22fa3fb83a480eebb4b082251278 (diff)
Makefile fix
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1031 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rwxr-xr-xapps/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/Makefile b/apps/Makefile
index 8a14c5558..0e535f690 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