summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAnders Björklund <anders@itension.se>2016-03-04 15:22:59 +0100
committerAnders Björklund <anders@itension.se>2016-03-04 15:38:06 +0100
commita21da6fff6e7f796c42b1a6f784d42945395025b (patch)
treeb49c72ebb84b3d290f8dbee7fbf4640ce04c80f1 /configure.ac
parent597a256957a13fc68e2c43a834e5f0733f641389 (diff)
downloadccache-a21da6fff6e7f796c42b1a6f784d42945395025b.tar.gz
Add compat version of GetFinalPathNameByHandle
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index af56dca6..988ac315 100644
--- a/configure.ac
+++ b/configure.ac
@@ -123,6 +123,7 @@ fi
dnl Linking on Windows needs ws2_32
if test x${windows_os} = xyes; then
LIBS="$LIBS -lws2_32"
+ AC_CHECK_FUNCS(GetFinalPathNameByHandleW,[],[LIBS="$LIBS -lpsapi"])
fi
AC_C_BIGENDIAN