diff options
author | Anselm R. Garbe <arg@10kloc.org> | 2006-10-12 08:11:08 +0200 |
---|---|---|
committer | Anselm R. Garbe <arg@10kloc.org> | 2006-10-12 08:11:08 +0200 |
commit | 0f1157d7e6cabe0394ffc35a0a58a30507af8ebd (patch) | |
tree | a0480551d26c42f8f87229c22e0124fa8000d646 /config.mk | |
parent | 2fa12210c9b6795f51a3227aaf417afe7f94fbce (diff) | |
download | slock-0f1157d7e6cabe0394ffc35a0a58a30507af8ebd.tar.gz slock-0f1157d7e6cabe0394ffc35a0a58a30507af8ebd.tar.xz |
applied BSD support patch
Diffstat (limited to 'config.mk')
-rw-r--r-- | config.mk | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -15,11 +15,14 @@ INCS = -I. -I/usr/include -I${X11INC} LIBS = -L/usr/lib -lc -lcrypt -L${X11LIB} -lX11 # flags -CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\" +CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\" -DHAVE_SHADOW_H LDFLAGS = ${LIBS} #CFLAGS = -g -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\" #LDFLAGS = -g ${LIBS} +# On *BSD remove -DHAVE_SHADOW_H from CFLAGS +# On OpenBSD remove -lcrypt from LIBS + # compiler and linker CC = cc LD = ${CC} |