Mercurial > trustbridge > nss-cmake-static
diff CMakeLists.txt @ 4:b513267f632f tip
Build DBM module
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Tue, 05 Aug 2014 18:58:03 +0200 |
parents | 150b72113545 |
children |
line wrap: on
line diff
--- a/CMakeLists.txt Tue Aug 05 18:32:02 2014 +0200 +++ b/CMakeLists.txt Tue Aug 05 18:58:03 2014 +0200 @@ -45,9 +45,9 @@ set (NSS_DEFINITIONS "${NSS_DEFINITIONS} -DNSS_DISABLE_ROOT_CERTS -DNSS_DISABLE_LIBPKIX -DSHLIB_SUFFIX=\\\"dll\\\"") set (NSS_DEFINITIONS "${NSS_DEFINITIONS} -DSHLIB_PREFIX=\\\"\\\" -DSOFTOKEN_LIB_NAME=\\\"softokn3.dll\\\"") set (NSS_DEFINITIONS "${NSS_DEFINITIONS} -DNSS_X86_OR_X64 -DNSS_X86 -D_X86_") -set (NSS_DEFINITIONS "${NSS_DEFINITIONS} -DMP_NO_MP_WORD -DMP_USE_UINT_DIGIT") +set (NSS_DEFINITIONS "${NSS_DEFINITIONS} -DMP_NO_MP_WORD -DMP_USE_UINT_DIGIT -D__DBINTERFACE_PRIVATE") #set (NSS_DEFINITIONS "${NSS_DEFINITIONS} -DMP_ASSEMBLY_MULTIPLY -DMP_ASSEMBLY_SQUARE -DMP_ASSEMBLY_DIV_2DX1D ") -set (NSS_DEFINITIONS "${NSS_DEFINITIONS} -DNO_NSPR_10_SUPPORT -DXP_WIN32 -DXP_WIN") +set (NSS_DEFINITIONS "${NSS_DEFINITIONS} -DNO_NSPR_10_SUPPORT -DXP_WIN32 -DXP_WIN -D_WINDOWS") set (NSPR_DEFINITIONS "${COMMON_DEFINITIONS} -D_NSPR_BUILD") @@ -247,6 +247,11 @@ nss/lib/dbm/src/memmove.c nss/lib/dbm/src/mktemp.c nss/lib/dbm/src/hash.c + nss/lib/dbm/src/hash_buf.c + nss/lib/dbm/src/h_bigkey.c + nss/lib/dbm/src/h_page.c + nss/lib/dbm/src/h_log2.c + nss/lib/dbm/src/h_func.c sqlite/sqlite3.c )