hotspot/make/defs.make
changeset 10739 91935236600e
parent 10565 dc90c239f4ec
child 11480 1bf714e8adb4
--- a/hotspot/make/defs.make	Mon Oct 10 21:01:36 2011 -0400
+++ b/hotspot/make/defs.make	Thu Oct 13 09:35:42 2011 -0700
@@ -281,6 +281,13 @@
 EXPORT_JRE_LIB_DIR = $(EXPORT_JRE_DIR)/lib
 EXPORT_JRE_LIB_ARCH_DIR = $(EXPORT_JRE_LIB_DIR)/$(LIBARCH)
 
+# non-universal macosx builds need to appear universal
+ifeq ($(OS_VENDOR), Darwin)
+  ifneq ($(MACOSX_UNIVERSAL), true)
+    EXPORT_JRE_LIB_ARCH_DIR = $(EXPORT_JRE_LIB_DIR)
+  endif
+endif
+
 # Common export list of files
 EXPORT_LIST += $(EXPORT_INCLUDE_DIR)/jvmti.h
 EXPORT_LIST += $(EXPORT_INCLUDE_DIR)/jvmticmlr.h