--- tests/Makefile.orig 2020-01-12 08:55:32 UTC +++ tests/Makefile @@ -30,7 +30,7 @@ email_OBJS = $(OBJDIR)email.o $(CC) -o $(OBJDIR)date$(EXEEXT) $(date_OBJS) $(date_LDFLAGS) email_OBJS = $(OBJDIR)email.o -email_CFLAGS = $(CPPFLAGSF) $(CPPFLAGS) $(CFLAGSF) $(CFLAGS) +email_CFLAGS = $(CPPFLAGSF) $(CPPFLAGS) $(CFLAGSF) $(CFLAGS) `pkg-config --cflags openssl` email_LDFLAGS = $(LDFLAGSF) $(LDFLAGS) -L$(OBJDIR)../src -Wl,-rpath,$(OBJDIR)../src -lMailer $(OBJDIR)email$(EXEEXT): $(email_OBJS)