summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMarco d'Itri <md@linux.it>2018-09-10 14:59:49 +0200
committerMarco d'Itri <md@linux.it>2018-09-16 03:36:38 +0200
commit44775cb342d63ec3fbc7eafee604a59c643913a0 (patch)
tree910e0ab2b97788b8856d57b750430922d4510c4d /Makefile
parent7a325d277c1033322f87cc4bb5998c9350a4bd2a (diff)
downloadwhois-44775cb342d63ec3fbc7eafee604a59c643913a0.tar.gz
mkpasswd: rename HAVE_XCRYPT to HAVE_XCRYPT_H
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 01ae5ce..0e9588f 100644
--- a/Makefile
+++ b/Makefile
@@ -55,8 +55,8 @@ ifeq ($(shell $(PKG_CONFIG) --exists 'libxcrypt >= 4.1' || echo NO),)
DEFS += -DHAVE_LINUX_CRYPT_GENSALT $(shell $(PKG_CONFIG) --cflags libcrypt)
mkpasswd_LDADD += $(shell $(PKG_CONFIG) --libs libcrypt)
else ifdef HAVE_XCRYPT
+DEFS += -DHAVE_XCRYPT_H -DHAVE_LINUX_CRYPT_GENSALT
mkpasswd_LDADD += -lxcrypt
-DEFS += -DHAVE_XCRYPT -DHAVE_LINUX_CRYPT_GENSALT
ifdef HAVE_LINUX_CRYPT_GENSALT
# owl and openSUSE have crypt_gensalt(3) in the libc's libcrypt
DEFS += -DHAVE_LINUX_CRYPT_GENSALT