aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure b/configure
index b68a3d2381..8d4b12aad2 100755
--- a/configure
+++ b/configure
@@ -289,7 +289,11 @@ while true; do
echo "libcudnn.dylib resolves to libcudnn${TF_CUDNN_EXT}"
fi
else
- TF_CUDNN_EXT=".$TF_CUDNN_VERSION"
+ if [ "$OSNAME" == "Darwin" ]; then
+ TF_CUDNN_EXT=".${TF_CUDNN_VERSION}.dylib"
+ else
+ TF_CUDNN_EXT=".$TF_CUDNN_VERSION"
+ fi
fi
if is_windows; then