diff options
Diffstat (limited to 'ACE/include/makeinclude/platform_macosx_elcapitan.GNU')
-rw-r--r-- | ACE/include/makeinclude/platform_macosx_elcapitan.GNU | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ACE/include/makeinclude/platform_macosx_elcapitan.GNU b/ACE/include/makeinclude/platform_macosx_elcapitan.GNU index 9d3c12028a2..d50bd5f5fe8 100644 --- a/ACE/include/makeinclude/platform_macosx_elcapitan.GNU +++ b/ACE/include/makeinclude/platform_macosx_elcapitan.GNU @@ -1,3 +1,13 @@ +ssl?=0 include $(ACE_ROOT)/include/makeinclude/platform_macosx_yosemite.GNU +## The following is to circumvent the restriction of System Integrity Protection (SIP) on Mac OS X El Capitan +## by embedding the path information of dynamic libraries into the executables. + +SOFLAGS += -install_name @rpath/$@ +space := $(subst ,, ) + +LDFLAGS += $(foreach libpath,$(LIBPATHS),-rpath $(if $(filter "/%,$(subst $(space),;,$(libpath))),$(libpath),@executable_path/$(libpath))) + + |