Commit 5e21e58d authored by Philip Carns's avatar Philip Carns

fixed -ldl link order bug that caused undefined dlsym error on some

platforms, reported by Florin Isaila.  We'll need to test this further in
release testing.


git-svn-id: https://svn.mcs.anl.gov/repos/darshan/trunk@817 3b7491f3-a168-0410-bf4b-c445ed680a29
parent c987dd99
......@@ -12,6 +12,8 @@ darshan-2.2.9-pre1
Mouhamed Gueye.
- Fix const-correctness in dynamic library when built against MPI 3.x
libraries.
- Fix "undefined symbol: dlsym" error when using preloaded dynamic library
on some platforms, reported by Florin Isaila.
darshan-2.2.8
=============
......
......@@ -85,7 +85,7 @@ lib/libdarshan-posix.a: lib/darshan-posix.o lib/lookup3.o lib/lookup8.o
ar rcs $@ $^
lib/libdarshan.so: lib/darshan-mpi-io.po lib/darshan-mpi-init-finalize.po lib/darshan-pnetcdf.po lib/darshan-hdf5.po lib/darshan-posix.po lib/lookup3.po lib/lookup8.po
$(CC) $(CFLAGS_SHARED) $(LDFLAGS) -ldl -o $@ $^ -lpthread -lrt -lz
$(CC) $(CFLAGS_SHARED) $(LDFLAGS) -o $@ $^ -lpthread -lrt -lz -ldl
install:: all
install -d $(libdir)
......
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