Commit c07dde2e authored by Philip Carns's avatar Philip Carns

adjusting post-ld-flags to handle more Cray test cases


git-svn-id: https://svn.mcs.anl.gov/repos/darshan/trunk@551 3b7491f3-a168-0410-bf4b-c445ed680a29
parent a4e47d92
......@@ -4,8 +4,15 @@ CP_WRAPPERS="@CP_WRAPPERS@"
DARSHAN_LIB_PATH="@darshan_lib_path@"
DARSHAN_LD_FLAGS="@LDFLAGS@"
# NOTE:
# - we deliberately list libdarshan-mpi-io twice in the link command. The
# first is necessary to correctly use the MPI profiling interface. The
# final one is necessary to give the linker a change to resolve indirect
# dependencies on PnetCDF and HDF5 symbols (if the app used a library which
# in turn used one of those HLLs).
PRE_LD_FLAGS="-L$DARSHAN_LIB_PATH $DARSHAN_LD_FLAGS -ldarshan-mpi-io -lz $CP_WRAPPERS"
POST_LD_FLAGS="-L$DARSHAN_LIB_PATH -ldarshan-posix"
POST_LD_FLAGS="-L$DARSHAN_LIB_PATH -ldarshan-posix -ldarshan-mpi-io"
usage="\
Usage: darshan-config [--pre-ld-flags] [--post-ld-flags]"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment