]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
Makefile: link libcommon, lockdep last
authorSage Weil <sage@newdream.net>
Mon, 23 Feb 2009 18:18:46 +0000 (10:18 -0800)
committerSage Weil <sage@newdream.net>
Mon, 23 Feb 2009 18:19:15 +0000 (10:19 -0800)
commit151d5f550e8056c0ef3148e2a11d895dbcf44af7
tree671bcc6aa0ee025f0883e6e1d40614bbaf41d9f7
parent940a78ffc413330e08c416a5946187ac4a4c3b6b
Makefile: link libcommon, lockdep last

Link libcommon.a last for everything.

Include lockdep last in libcommon so to initialize first, shutdown
last, so that g_lockdep is initialized to zero for all Mutexes.

Put config.cc next to last so that the atomic_t thread counter is
initialized before all threads are created, shutdown after all
threads are destroyed.
src/Makefile.am
src/common/lockdep.cc
src/config.cc