include/makeinclude/platform_macosx_yosemite.GNU
raw| 1 | include $(ACE_ROOT)/include/makeinclude/platform_macosx_mavericks.GNU |
| 2 | |
| 3 | ## The following is to circumvent the restriction of System Integrity Protection (SIP) |
| 4 | ## by embedding the path information of dynamic libraries into the executables. |
| 5 | |
| 6 | SOFLAGS += -install_name @rpath/$(notdir $@) |
| 7 | space := $(subst ,, ) |
| 8 | |
| 9 | LDFLAGS += $(foreach libpath,$(LIBPATHS),-rpath $(if $(filter "/%,$(subst $(space),;,$(libpath))),$(libpath),@executable_path/$(libpath))) |