diff options
author | leyla_linden <none@none> | 2010-12-31 12:55:04 -0800 |
---|---|---|
committer | leyla_linden <none@none> | 2010-12-31 12:55:04 -0800 |
commit | 350a736d37de282e1e3c22627400d957f0e00dc5 (patch) | |
tree | 7427e593ce39ad2c50e1f217bad5b211a9eb3928 /indra/cmake/BerkeleyDB.cmake | |
parent | d196348d0f4bd542eee3702329dab28952b8a5e5 (diff) | |
parent | e3204165b9bb9b36cb11a8d0a4a4040634e707fc (diff) |
Merge
Diffstat (limited to 'indra/cmake/BerkeleyDB.cmake')
-rw-r--r-- | indra/cmake/BerkeleyDB.cmake | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/indra/cmake/BerkeleyDB.cmake b/indra/cmake/BerkeleyDB.cmake index d98e79179d..e3ca0fd77d 100644 --- a/indra/cmake/BerkeleyDB.cmake +++ b/indra/cmake/BerkeleyDB.cmake @@ -6,6 +6,11 @@ set(DB_FIND_REQUIRED ON) if (STANDALONE) include(FindBerkeleyDB) else (STANDALONE) - set(DB_LIBRARIES db-4.2) + if (LINUX) + # Need to add dependency pthread explicitely to support ld.gold. + set(DB_LIBRARIES db-4.2 pthread) + else (LINUX) + set(DB_LIBRARIES db-4.2) + endif (LINUX) set(DB_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include) endif (STANDALONE) |