aboutsummaryrefslogtreecommitdiff
path: root/windows/Makefile
diff options
context:
space:
mode:
authorstijn2014-05-03 10:26:04 +0200
committerstijn2014-05-03 17:38:08 +0200
commit4cd21deebca0e75b77d62d8d748aa66453532d9b (patch)
tree0fdf136db5371bb6c69ec27c1ecddcc5c270f50c /windows/Makefile
parentbff1ff28eec5611a2e963601b98044135694df57 (diff)
mingw: Add implementation of realpath()
The mingw port used _fullpath() until now, but the behaviour is not exactly the same as realpath()'s on unix; major difference being that it doesn't return an error for non-existing files, which would bypass main's error checking and bail out without any error message. Also realpath() will return forward slashes only since main() relies on that.
Diffstat (limited to 'windows/Makefile')
-rw-r--r--windows/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/windows/Makefile b/windows/Makefile
index 2f5418886..351aad6f1 100644
--- a/windows/Makefile
+++ b/windows/Makefile
@@ -30,6 +30,7 @@ endif
SRC_C = \
unix/main.c \
unix/file.c \
+ realpath.c \
OBJ = $(PY_O) $(addprefix $(BUILD)/, $(SRC_C:.c=.o))