Skip to content

Commit

Permalink
Set ESMF_TRACE_PRELOAD_LINKED=ON for Darwin combo where we experience
Browse files Browse the repository at this point in the history
issues due to default level System Integrity Protection (SIP).
  • Loading branch information
theurich committed Oct 25, 2023
1 parent 8953610 commit f708fc7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build_config/Darwin.gfortranclang.default/build_rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,11 @@ ifeq ($(ESMF_SHARED_LIB_BUILD),OFF)
ESMF_TRACE_LIB_BUILD = OFF
endif

############################################################
# Preloading the dynamic trace library is generally not supported on Darwin
# when System Integrity Protection (SIP) is enabled. Link directly instead.
ESMF_TRACE_PRELOAD_LINKED=ON

############################################################
# Shared object options
#
Expand Down

0 comments on commit f708fc7

Please sign in to comment.