Displaying 1 result from an estimated 1 matches for "libcrypt_cflag".
Did you mean:
libcrypt_cflags
2018 Jan 23
1
[PATCH] customize: Use libxcrypt if available to provide crypt(3).
...s(-)
diff --git a/customize/Makefile.am b/customize/Makefile.am
index b4ec9286a..a22e25c46 100644
--- a/customize/Makefile.am
+++ b/customize/Makefile.am
@@ -100,6 +100,7 @@ libcustomize_a_CPPFLAGS = \
-I$(top_srcdir)/common/edit
libcustomize_a_CFLAGS = \
$(WARN_CFLAGS) $(WERROR_CFLAGS) \
+ $(LIBCRYPT_CFLAGS) \
$(LIBVIRT_CFLAGS) \
$(LIBXML2_CFLAGS) \
-fPIC
diff --git a/customize/crypt-c.c b/customize/crypt-c.c
index 70e6ea7f5..d5425cfaa 100644
--- a/customize/crypt-c.c
+++ b/customize/crypt-c.c
@@ -22,6 +22,10 @@
#include <stdlib.h>
#include <unistd.h>
+#if HAVE_CRYPT_H
+#include...