From 01c4b00352365b1447ca3d5d02c2e1f9950e04b3 Mon Sep 17 00:00:00 2001 From: Alessandro Mauri Date: Sun, 11 Jul 2021 13:35:13 +0200 Subject: [PATCH] only openbsd doesn't use -lcrypt --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index a865831..ec44415 100644 --- a/makefile +++ b/makefile @@ -4,7 +4,7 @@ CC ?= gcc CFLAGS = -Wall -pedantic --std=c99 -O2 DBG_CFLAGS = -Wall -Werror -pedantic --std=c99 -O0 -g SYSTEM != uname -LDFLAGS != if [ '${SYSTEM}' = 'Linux' ]; then echo '-lcrypt'; fi +LDFLAGS != if [ '${SYSTEM}' != 'OpenBSD' ]; then echo '-lcrypt'; fi PREFIX = /usr/local MANPREFIX = ${PREFIX}/share/man