summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2005-06-28 12:41:03 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2005-06-28 12:41:03 +0000
commitf2fc13115a90ba2ca575352b04bd8abf7af64d23 (patch)
tree5fabb7e5079397e7a7d6559eb38a71a24f243583 /Makefile
parent3539db6ef7e019f6098dcc066faf0d3f0aa949bb (diff)
downloadrsyslog-f2fc13115a90ba2ca575352b04bd8abf7af64d23.tar.gz
rsyslog-f2fc13115a90ba2ca575352b04bd8abf7af64d23.tar.xz
rsyslog-f2fc13115a90ba2ca575352b04bd8abf7af64d23.zip
fixed some issues on FreeBSD
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
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