summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pttbbs.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/pttbbs.mk b/pttbbs.mk
index 0cc8b2a3..a00e86bf 100644
--- a/pttbbs.mk
+++ b/pttbbs.mk
@@ -6,14 +6,14 @@ OSTYPE!= uname
CC?= gcc
CCACHE!= which ccache|sed -e 's/^.*\///'
PTT_CFLAGS= -Wall -pipe -DBBSHOME='"$(BBSHOME)"' -I../include
-PTT_LDFLAGS= -pipe -Wall
-PTT_LIBS= -lcrypt
+PTT_LDFLAGS= -pipe -Wall -L/usr/local/lib
+PTT_LIBS= -lcrypt -lhz
# enable assert()
#PTT_CFLAGS+= -DNDEBUG
# FreeBSD特有的環境
-CFLAGS_FreeBSD= -DHAVE_SETPROCTITLE
+CFLAGS_FreeBSD= -DHAVE_SETPROCTITLE -DFreeBSD
LDFLAGS_FreeBSD=
LIBS_FreeBSD= -lkvm