aboutsummaryrefslogtreecommitdiffstats
path: root/ports/darwin
diff options
context:
space:
mode:
Diffstat (limited to 'ports/darwin')
-rw-r--r--ports/darwin/portdefs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ports/darwin/portdefs.h b/ports/darwin/portdefs.h
index f27e28d..900d98e 100644
--- a/ports/darwin/portdefs.h
+++ b/ports/darwin/portdefs.h
@@ -8,3 +8,6 @@ extern int pseudo_host_etc_passwd_fd;
extern int pseudo_host_etc_group_fd;
extern FILE *pseudo_host_etc_passwd_file;
extern FILE *pseudo_host_etc_group_file;
+/* Darwin ALWAYS follows symlinks for link(2) */
+#undef PSEUDO_LINK_SYMLINK_BEHAVIOR
+#define PSEUDO_LINK_SYMLINK_BEHAVIOR AT_SYMLINK_FOLLOW