aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Makefile.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 7605342..4ec8f2c 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,14 +1,15 @@
sbin_PROGRAMS= duser
-duser_POSIX=-D__USE_POSIX
+duser_POSIX=-D_GNU_SOURCE
AM_CFLAGS=${duser_POSIX} --std=c99 -O2 -pedantic -Wall -Wextra
if HAVE_COMPAT
duser_LDFLAGS=-L$(top_srcdir)/compat -ldusercompat
else
-duser_LDFLAGS=
+duser_LDFLAGS=-lpcre
endif
duser_SOURCES= duser.c \
user.c \
util.c \
+ mklist.c \
log.c \
cfg.c