summaryrefslogtreecommitdiffstats
path: root/mbbsd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/Makefile')
-rw-r--r--mbbsd/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/mbbsd/Makefile b/mbbsd/Makefile
index 1917f87b..9eb6bbc2 100644
--- a/mbbsd/Makefile
+++ b/mbbsd/Makefile
@@ -10,9 +10,10 @@ CFLAGS+= -DBLOG
LDFLAGS+= -L/usr/local/lib/mysql -lmysqlclient
.endif
-.if !defined(WITHOUT_EMAIL_DB) && defined(WITH_EMAIL_DB)
-CFLAGS+= -DUSE_EMAIL_DB
-LDFLAGS+= -L/usr/local/lib/sqlite3 -lsqlite3
+.if !defined(WITHOUT_EMAILDB) && defined(WITH_EMAILDB)
+OBJS+= emaildb.o
+CFLAGS+= -DUSE_EMAILDB
+LDFLAGS+= -lsqlite3
.endif
.if !defined(WITHOUT_PFTERM) && defined(WITH_PFTERM)