--- old/src/utils/hsdis/Makefile 2019-03-20 13:57:55.659639494 +0900 +++ new/src/utils/hsdis/Makefile 2019-03-20 13:57:55.361641757 +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 +ifeq ($(OS),windows) +LIBRARIES += $(TARGET_DIR)/zlib/libz.a +endif + DEMO_TARGET = $(TARGET_DIR)/hsdis-demo DEMO_SOURCE = hsdis-demo.c