Bug 493364: can't build with --disable-dbm option when not cross-compiling
authornelson%bolyard.com
Fri, 07 Aug 2009 19:06:37 +0000
changeset 9356 515058397d6ee84cfa144a68775eb82a7742f9d0
parent 9355 0b5b614b249533057051b3d8356ee8f212f211bd
child 9357 cbf8d5cfaab517850d49e7c0b49a0bc9c55d0ec0
push idunknown
push userunknown
push dateunknown
bugs493364
Bug 493364: can't build with --disable-dbm option when not cross-compiling Patch contributed by Kouhei Sutou <kou@clear-code.com> and by Hiroyuki Ikezoe <ikezoe@clear-code.com>, r=nelson
security/nss/cmd/shlibsign/Makefile
--- a/security/nss/cmd/shlibsign/Makefile
+++ b/security/nss/cmd/shlibsign/Makefile
@@ -75,17 +75,19 @@ EXTRA_SHARED_LIBS += \
 
 endif
 
 
 # sign any and all shared libraries that contain the word freebl
 
 CHECKLIBS = $(DIST)/lib/$(DLL_PREFIX)softokn3.$(DLL_SUFFIX)
 CHECKLIBS += $(wildcard $(DIST)/lib/$(DLL_PREFIX)freebl*3.$(DLL_SUFFIX))
+ifndef NSS_DISABLE_DBM
 CHECKLIBS += $(DIST)/lib/$(DLL_PREFIX)nssdbm3.$(DLL_SUFFIX)
+endif
 CHECKLOC = $(CHECKLIBS:.$(DLL_SUFFIX)=.chk)
 
 MD_LIB_RELEASE_FILES = $(CHECKLOC)
 ALL_TRASH += $(CHECKLOC)
 
 
 #######################################################################
 # (5) Execute "global" rules. (OPTIONAL)                              #