components/pdsh/patches/find-genders-lib.patch
author Rich Burridge <rich.burridge@oracle.com>
Wed, 27 Jul 2016 17:55:59 -0700
changeset 6500 eb9df404cf15
permissions -rw-r--r--
PSARC 2016/379 genders - version 1.22 PSARC 2016/380 pdsh - version 2.29 21225964 Add pdsh version 2.29 to Solaris 23570234 Add genders version 1.22 to Solaris

Until the genders package is available on Userland build machines, then we
need to get libgenders.so from the prototype area of the built genders
component. Unfortunately there are no configure smarts to allow this to
be easily done.

This patch will not be sent upstream. When genders is on the Userland build
machines then this patch can be removed, along with the CONFIGURE_ENV line
in the component Makefile.

--- pdsh-2.29/configure.orig	2016-07-24 16:55:41.644998411 -0700
+++ pdsh-2.29/configure	2016-07-24 17:05:14.064517775 -0700
@@ -24937,7 +24937,7 @@
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-lgenders  $LIBS"
+LIBS="$GENDERS_LD_OPTIONS -lgenders  $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
@@ -25024,7 +25024,7 @@
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-lgenders  $LIBS"
+LIBS="$GENDERS_LD_OPTIONS -lgenders  $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF