summaryrefslogtreecommitdiffstats
path: root/ulogd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ulogd/Makefile')
-rw-r--r--ulogd/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/ulogd/Makefile b/ulogd/Makefile
index 6d80dfb..2f15c62 100644
--- a/ulogd/Makefile
+++ b/ulogd/Makefile
@@ -3,13 +3,13 @@ LIBIPULOG=../libipulog
INCIPULOG=-I../libipulog/include
# Names of the plugins to be compiled
-ULOGD_SL:=BASE OPRINT PWSNIFF
+ULOGD_SL:=BASE OPRINT PWSNIFF #MYSQL
# Normally You should not need to change anything below
#
CC = gcc
CFLAGS = -I. -Wall $(INCIPULOG) -O2
-#CFLAGS+=-g -DDEBUG
+CFLAGS+=-g -DDEBUG
SH_CFLAGS:=$(CFLAGS) -fPIC
@@ -27,7 +27,7 @@ conffile.o: conffile.c
$(CC) $(CFLAGS) -c $< -o $@
ulogd: ulogd.c $(LIBIPULOG) ulogd.h conffile.o
- $(CC) $(CFLAGS) -rdynamic -ldl -i ulogd.c conffile.o $(LIBIPULOG)/libipulog.a -o ulogd
+ $(CC) $(CFLAGS) -rdynamic -ldl ulogd.c -lmysqlclient conffile.o $(LIBIPULOG)/libipulog.a -o ulogd
clean:
rm -f ulogd *.o extensions/*.o extensions/*.so