]> andersk Git - gssapi-openssh.git/commitdiff
add -R for GSI libraries on link line if need_dash_r is set, like is
authorjbasney <jbasney>
Mon, 15 Dec 2003 16:02:49 +0000 (16:02 +0000)
committerjbasney <jbasney>
Mon, 15 Dec 2003 16:02:49 +0000 (16:02 +0000)
done for other libraries

openssh/configure.ac

index a5d692a2832c0506115f51faee0963067d18f5e4..7cff95452d7e34daa33fd29642da583c83eda9b2 100644 (file)
@@ -725,14 +725,17 @@ if test "x$gsi_path" != "xno" ; then
        GSI_CPPFLAGS="-I${GLOBUS_INCLUDE}"
        
        if test -x ${gsi_path}/bin/globus-makefile-header ; then
-               GSI_LDFLAGS="-L${gsi_path}/lib"
                GSI_LIBS=`${gsi_path}/bin/globus-makefile-header --flavor=${globus_flavor_type} globus_gss_assist | perl -n -e 'if (/GLOBUS_PKG_LIBS = (.*)/){print $1;}'`
        elif test -x ${gsi_path}/sbin/globus-makefile-header ; then
-               GSI_LDFLAGS="-L${gsi_path}/lib"
                GSI_LIBS=`${gsi_path}/sbin/globus-makefile-header --flavor=${globus_flavor_type} globus_gss_assist | perl -n -e 'if (/GLOBUS_PKG_LIBS = (.*)/){print $1;}'`
        else
                AC_MSG_ERROR(Cannot find globus-makefile-header: Globus installation is incomplete)
        fi
+       if test -n "${need_dash_r}"; then
+               GSI_LDFLAGS="-L${gsi_path}/lib -R{gsi_path}/lib"
+       else
+               GSI_LDFLAGS="-L${gsi_path}/lib"
+       fi
        if test -z "$GSI_LIBS" ; then
                AC_MSG_ERROR(globus-makefile-header failed)
        fi
This page took 0.207556 seconds and 5 git commands to generate.