Add -lresolv to the Solaris ex_libs
authorRichard Levitte <levitte@openssl.org>
Wed, 17 Feb 2016 23:07:54 +0000 (00:07 +0100)
committerRichard Levitte <levitte@openssl.org>
Wed, 17 Feb 2016 23:07:54 +0000 (00:07 +0100)
The reason is that we use hstrerror() and other resolver functions.

Reporter: Erik Forsberg <erik@efca.com>

Reviewed-by: Rich Salz <rsalz@openssl.org>
Configurations/10-main.conf

index e07b926c895b00e255d753b66c4112a9894a6bf8..93d98ef0cc082d8a132c55bee0f1a3bcfe071237 100644 (file)
@@ -39,7 +39,7 @@
     "solaris-common" => {
         template         => 1,
         cflags           => "-DFILIO_H",
-        ex_libs          => "-lsocket -lnsl -ldl",
+        ex_libs          => "-lresolv -lsocket -lnsl -ldl",
         dso_scheme       => "dlfcn",
         shared_target    => "solaris-shared",
         shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",