Index: mozilla/directory/c-sdk/ldap/libraries/libprldap/Makefile.in
--- mozilla/directory/c-sdk/ldap/libraries/libprldap/Makefile.in.orig	2008-09-11 16:38:35 +0200
+++ mozilla/directory/c-sdk/ldap/libraries/libprldap/Makefile.in	2009-04-09 23:27:31 +0200
@@ -57,12 +57,8 @@
 DISTHDIR	= $(DIST)/public/ldap
 HDIR		= $(topsrcdir)/ldap/include
 
-ifneq (,$(filter OS2 WINNT,$(OS_ARCH)))
 LIBPRLDAP	= $(addprefix $(OBJDIR_NAME)/, \
 			$(LIB_PREFIX)$(PRLDAP_LIBNAME).$(LIB_SUFFIX))
-else
-LIBPRLDAP =
-endif
 DLLPRLDAP	= $(addprefix $(OBJDIR_NAME)/, \
 			$(LIB_PREFIX)$(PRLDAP_LIBNAME).$(DLL_SUFFIX))
 
@@ -207,7 +203,7 @@
 	rm -f $@
 	$(IMPLIB) $@ $(PRLDAP_EXPORT_DEFS)
 else
-	$(LINK_LIB) $(EXTRA_LIBS)
+	$(LINK_LIB)
 endif
 
 $(DLLPRLDAP): $(OBJS) $(LIBDIR) $(PRLDAP_EXPORT_DEFS)
Index: mozilla/directory/c-sdk/ldap/libraries/libssldap/Makefile.in
--- mozilla/directory/c-sdk/ldap/libraries/libssldap/Makefile.in.orig	2008-09-11 16:38:35 +0200
+++ mozilla/directory/c-sdk/ldap/libraries/libssldap/Makefile.in	2009-04-09 23:29:29 +0200
@@ -218,7 +218,7 @@
  ifdef SO_FILES_TO_REMOVE
 	-$(RM) $(SO_FILES_TO_REMOVE)
  endif
-	$(LINK_LIB) $(EXTRA_LIBS)
+	$(LINK_LIB)
 
 $(DLLSSLDAP): $(OBJS) $(LIBDIR) $(SSLDAP_EXPORT_DEFS)
 	@echo ======= making $(DLLSSLDAP)
