101-make_crypto_use_optional.patch 197 B

12345678910111213
  1. --- a/Makefile
  2. +++ b/Makefile
  3. @@ -35,7 +35,9 @@ LDLIBS += `pkg-config --libs openssl`
  4. reglib.o: keys-ssl.c
  5. -else
  6. +endif
  7. +
  8. +ifeq ($(USE_GCRYPT),1)
  9. CFLAGS += -DUSE_GCRYPT
  10. LDLIBS += -lgcrypt