From f2fc13115a90ba2ca575352b04bd8abf7af64d23 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Tue, 28 Jun 2005 12:41:03 +0000 Subject: fixed some issues on FreeBSD --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index c6dda15a..898d1b99 100644 --- a/Makefile +++ b/Makefile @@ -12,8 +12,8 @@ CC= gcc # enables the MySQL code. By default, that one is commented out # change the comment chars to activate it if you need MySQL! # In this case, also look down further to uncomment the libs -CFLAGS= $(RPM_OPT_FLAGS) -O3 -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce -#CFLAGS= $(RPM_OPT_FLAGS) -O3 -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce -DWITH_DB +#CFLAGS= $(RPM_OPT_FLAGS) -O3 -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce +CFLAGS= $(RPM_OPT_FLAGS) -O3 -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce -DWITH_DB -I/usr/local/include LDFLAGS= -s INSTALL = install @@ -22,6 +22,7 @@ MANDIR = /usr/share/man # Uncomment the following to use mysql. #LIBS = -lmysqlclient #/var/lib/mysql/mysql +LIBS = -lmysqlclient -L/usr/local/lib/mysql # thid define for FreeBSD # There is one report that under an all ELF system there may be a need to # explicilty link with libresolv.a. If linking syslogd fails you may wish -- cgit