diff make/sun/pisces/Makefile @ 2568:83c7768292d7

6961633: gui applications cause a jvm crash on windows Reviewed-by: ceisserer, bae
author prr
date Fri, 18 Jun 2010 11:00:14 -0700
parents 00cd9dc3c2b5
children a06412e13bf7
line wrap: on
line diff
--- a/make/sun/pisces/Makefile	Wed Jun 16 20:46:10 2010 +0200
+++ b/make/sun/pisces/Makefile	Fri Jun 18 11:00:14 2010 -0700
@@ -52,5 +52,11 @@
 
 copy-files: $(FILES_copy)
 
-$(SERVICEDIR)/%: $(SHARE_SRC)/classes/sun/java2d/pisces/META-INF/services/%
+ifneq ($(PLATFORM), windows)
+ SERVICE_SRC = $(PLATFORM_SRC)
+else
+ SERVICE_SRC = $(SHARE_SRC)
+endif
+
+$(SERVICEDIR)/%: $(SERVICE_SRC)/classes/sun/java2d/pisces/META-INF/services/%
 	$(install-file)