bug 390048 Complex Text Line Breaking with Uniscribe for Windows. patch by <nattachai@gmail.com> r+sr=roc, a=dsicor
authormasayuki@d-toybox.com
Wed, 15 Aug 2007 09:36:59 -0700
changeset 4674 f021ae602909475d98c15e45e6f1fffc5bfb60ae
parent 4673 882de3952ee95d83ab296781711f4e348a418f28
child 4675 2f38255b6efe192b3bd207a29b61a2d4b84a5420
push idunknown
push userunknown
push dateunknown
reviewersdsicor
bugs390048
milestone1.9a8pre
bug 390048 Complex Text Line Breaking with Uniscribe for Windows. patch by <nattachai@gmail.com> r+sr=roc, a=dsicor
intl/lwbrk/src/Makefile.in
--- a/intl/lwbrk/src/Makefile.in
+++ b/intl/lwbrk/src/Makefile.in
@@ -58,27 +58,39 @@ CPPSRCS		= \
 		nsSemanticUnitScanner.cpp \
 		$(NULL)
 
 ifdef MOZ_ENABLE_PANGO
 CPPSRCS		+= \
 		nsPangoBreaker.cpp \
 		$(NULL)
 else
+ifeq  ($(MOZ_WIDGET_TOOLKIT),windows)
 CPPSRCS		+= \
-		nsRuleBreaker.cpp \
+		nsUniscribeBreaker.cpp \
+		$(NULL)
+else
+CPPSRCS		+= \
+	nsRuleBreaker.cpp \
 		$(NULL)
 
 CSRCS		= rulebrk.c
 endif
+endif
 
 include $(topsrcdir)/config/rules.mk
 
 ifdef MOZ_ENABLE_PANGO
 CXXFLAGS	+= \
 		$(MOZ_PANGO_CFLAGS) \
 		$(NULL)
 
 EXTRA_DSO_LDOPTS += \
 		$(MOZ_PANGO_LIBS) \
 		$(NULL)
+
+else
+ifeq  ($(MOZ_WIDGET_TOOLKIT),windows)
+EXTRA_DSO_LDOPTS += \
+		usp10.lib \
+		$(NULL)
 endif
-
+endif