fixed Solaris 11 build

Wed, 10 Feb 2016 12:32:07 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Wed, 10 Feb 2016 12:32:07 +0100
changeset 189
0d04ccf6747b
parent 188
753c8fcde12f
child 190
a76e43d89f55

fixed Solaris 11 build

libidav/utils.c file | annotate | diff | comparison | revisions
suncc.mk file | annotate | diff | comparison | revisions
--- a/libidav/utils.c	Sun Jan 31 20:39:29 2016 +0100
+++ b/libidav/utils.c	Wed Feb 10 12:32:07 2016 +0100
@@ -46,7 +46,6 @@
 #define getpasswordchar() getchar()
 #endif
 
-#include <openssl/sha.h>
 #include <openssl/hmac.h>
 #include <openssl/evp.h>
 #include <openssl/bio.h>
--- a/suncc.mk	Sun Jan 31 20:39:29 2016 +0100
+++ b/suncc.mk	Wed Feb 10 12:32:07 2016 +0100
@@ -33,7 +33,7 @@
 
 CFLAGS  = -g -DDEBUG -c -xc99 -D_REENTRANT
 COFLAGS = -o
-LDFLAGS = -lmd
+LDFLAGS = -lmd -lm
 LOFLAGS = -o
 ARFLAGS = -r
 RMFLAGS = -f

mercurial