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

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: 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
- Fix "undefined symbol: dlsym" error when using preloaded dynamic library
on some platforms, reported by Florin Isaila.
......@@ -85,7 +85,7 @@ lib/libdarshan-posix.a: lib/darshan-posix.o lib/lookup3.o lib/lookup8.o
ar rcs $@ $^
lib/ 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