Skip to content

Commit

Permalink
prov/gni:configury, add rpath for criterion
Browse files Browse the repository at this point in the history
Add an rpath for criterion now that its using
shared libs.

Signed-off-by: Howard Pritchard <[email protected]>
  • Loading branch information
hppritcha committed Dec 29, 2015
1 parent d86a95a commit ccf3d45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions prov/gni/configure.m4
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ AC_DEFUN([FI_GNI_CONFIGURE],[
AC_MSG_RESULT([yes])
gni_CPPFLAGS="-I$with_criterion/include $gni_CPPFLAGS"
if test -d "$with_criterion/lib"; then
gni_LDFLAGS="$CRAY_ALPS_LLI_STATIC_LIBS -L$with_criterion/lib $gni_LDFLAGS"
gni_LDFLAGS="$CRAY_ALPS_LLI_STATIC_LIBS -L$with_criterion/lib -Wl,-rpath=$with_criterion/lib $gni_LDFLAGS"
have_criterion=true
elif test -d "$with_criterion/lib64"; then
gni_LDFLAGS="$CRAY_ALPS_LLI_STATIC_LIBS -L$with_criterion/lib64 $gni_LDFLAGS"
gni_LDFLAGS="$CRAY_ALPS_LLI_STATIC_LIBS -L$with_criterion/lib64 -Wl,-rpath=$with_criterion/lib64 $gni_LDFLAGS"
have_criterion=true
else
have_criterion=false
Expand Down

0 comments on commit ccf3d45

Please sign in to comment.