components/pdsh/patches/find-genders-lib.patch
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Tue, 13 Sep 2016 13:02:35 -0700
changeset 6896 142170914c4c
parent 6500 eb9df404cf15
permissions -rw-r--r--
Added tag s12-108.1 for changeset 71ef4536e377

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