--- include/makeinclude/platform_macros.GNU.orig
+++ include/makeinclude/platform_macros.GNU
@@ -0,0 +1,12 @@
+buildbits=64
+universal=0
+install_rpath=0
+inline=1
+shared_libs_only=1
+ssl=0
+
+LDFLAGS+= -Wl,-rpath,$(INSTALL_PREFIX)/$(INSTALL_LIB)
+
+SOFLAGS+= -Wl,-install_name,\@rpath/$@
+
+include $(ACE_ROOT)/include/makeinclude/platform_macosx.GNU
