Skip to content

Commit

Permalink
[GR-48291] Fix ld commandline in toolchain tests for newer versions o…
Browse files Browse the repository at this point in the history
…f Darwin.

(cherry picked from commit 90c2c35)
  • Loading branch information
rschatz authored and medoussboug committed Apr 3, 2024
1 parent 4310ad2 commit d896c0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sulong/tests/toolchain-launchers-tests/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2019, 2021, Oracle and/or its affiliates.
# Copyright (c) 2019, 2024, Oracle and/or its affiliates.
#
# All rights reserved.
#
Expand Down Expand Up @@ -91,7 +91,7 @@ endef
CHECK_WRAPPER_SCRIPT= | grep "GraalVM wrapper script" $(QUIETLY_REDIR)

ifeq ($(OS), darwin)
SHARED_FLAGS=-dynamic -dylib -arch x86_64 -macosx_version_min 10.14.0 -lSystem
SHARED_FLAGS=-dylib -arch x86_64 -macosx_version_min 10.14.0 -undefined dynamic_lookup
else
SHARED_FLAGS=--shared
main.out: LDFLAGS+=-Wl,--gc-sections
Expand Down

0 comments on commit d896c0f

Please sign in to comment.