summaryrefslogtreecommitdiff
path: root/ACE/include/makeinclude/platform_macosx_yosemite.GNU
blob: d23fbda1c59ad96d891d71c784c1aab860c55149 (plain)
1
2
3
4
5
6
7
8
9
include $(ACE_ROOT)/include/makeinclude/platform_macosx_mavericks.GNU

## The following is to circumvent the restriction of System Integrity Protection (SIP)
## by embedding the path information of dynamic libraries into the executables.

SOFLAGS	+= -install_name @rpath/$(notdir $@)
space := $(subst ,, )

LDFLAGS += $(foreach libpath,$(LIBPATHS),-rpath $(if $(filter "/%,$(subst $(space),;,$(libpath))),$(libpath),@executable_path/$(libpath)))