From f78b6f50c3f99660d1ad5374ad24a66379ed6c45 Mon Sep 17 00:00:00 2001 From: Gilles Duboscq Date: Wed, 2 Oct 2019 16:54:25 +0200 Subject: [PATCH] Fix path to `.a` on darwin --- vm/mx.vm/mx_vm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vm/mx.vm/mx_vm.py b/vm/mx.vm/mx_vm.py index 82c44683ca46..84087cd9239c 100644 --- a/vm/mx.vm/mx_vm.py +++ b/vm/mx.vm/mx_vm.py @@ -422,7 +422,7 @@ def _add_link(_dest, _target, _component=None): # Temporary workaround until GR-16855 an SVM module provides the .a files _add(layout, self.jdk_base + '/lib/', { 'source_type': 'file', - 'path': _src_jdk_dir + '/lib/*.a', + 'path': _src_jdk_dir + (('/' + _src_jdk_base) if _src_jdk_base != '.' else '') + '/lib/*.a', }) # Add vm.properties