changeset 54212:ed40b61fed96

8220784: hsdis cannot be built with MinGW64 Reviewed-by: iklam, dholmes
author ysuenaga
date Thu, 21 Mar 2019 21:17:54 +0900
parents 67c58bd66e82
children d8d45286ffa9
files src/utils/hsdis/Makefile
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/utils/hsdis/Makefile	Thu Mar 21 04:55:20 2019 -0400
+++ b/src/utils/hsdis/Makefile	Thu Mar 21 21:17:54 2019 +0900
@@ -1,5 +1,5 @@
 #
-# Copyright (c) 2008, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2008, 2019, Oracle and/or its affiliates. All rights reserved.
 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 #
 # The Universal Permissive License (UPL), Version 1.0
@@ -201,6 +201,10 @@
 		$(TARGET_DIR)/opcodes/libopcodes.a \
 		$(TARGET_DIR)/libiberty/libiberty.a
 
+ifneq ($(MINGW),)
+LIBRARIES +=	$(TARGET_DIR)/zlib/libz.a
+endif
+
 DEMO_TARGET	= $(TARGET_DIR)/hsdis-demo
 DEMO_SOURCE	= hsdis-demo.c