You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
403 B

  1. --- a/Makefile
  2. +++ b/Makefile
  3. @@ -56,8 +56,6 @@ DEFS += -DHAVE_ICONV
  4. endif
  5. ifeq ($(shell $(PKG_CONFIG) --exists 'libxcrypt >= 4.1' || echo NO),)
  6. -DEFS += -DHAVE_CRYPT_H -DHAVE_LINUX_CRYPT_GENSALT $(shell $(PKG_CONFIG) --cflags libcrypt)
  7. -mkpasswd_LDADD += $(shell $(PKG_CONFIG) --libs libcrypt)
  8. else ifdef HAVE_XCRYPT
  9. DEFS += -DHAVE_XCRYPT_H -DHAVE_LINUX_CRYPT_GENSALT
  10. mkpasswd_LDADD += -lxcrypt