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 e07b926..93d98ef 100644 (file)
@@ -39,7 +39,7 @@
     "solaris-common" => {
         template         => 1,
         cflags           => "-DFILIO_H",
     "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)",
         dso_scheme       => "dlfcn",
         shared_target    => "solaris-shared",
         shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",