Skip to content

Commit

Permalink
Merge pull request #1 from hppritcha/topic/add_rlink_to_new_criterion
Browse files Browse the repository at this point in the history
prov/gni:configury, add rpath for criterion
  • Loading branch information
sungeunchoi committed Jan 4, 2016
2 parents d86a95a + ccf3d45 commit da50393
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 da50393

Please sign in to comment.