File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -45,3 +45,8 @@ mkdir libmongocrypt
45
45
tar xzf libmongocrypt.tar.gz -C ./libmongocrypt
46
46
ls -la libmongocrypt
47
47
ls -la libmongocrypt/nocrypto
48
+
49
+ if [ " Windows_NT" = " ${OS:- ' ' } " ]; then
50
+ # libmongocrypt's windows dll is not marked executable.
51
+ chmod +x libmongocrypt/nocrypto/bin/mongocrypt.dll
52
+ fi
Original file line number Diff line number Diff line change @@ -230,8 +230,6 @@ def handle_test_env() -> None:
230
230
PYMONGOCRYPT_LIB = BASE / "lib/libmongocrypt.dylib"
231
231
else :
232
232
PYMONGOCRYPT_LIB = BASE / "bin/mongocrypt.dll"
233
- # libmongocrypt's windows dll is not marked executable.
234
- PYMONGOCRYPT_LIB .chmod (PYMONGOCRYPT_LIB .stat ().st_mode | stat .S_IEXEC )
235
233
if not PYMONGOCRYPT_LIB .exists ():
236
234
raise RuntimeError ("Cannot find libmongocrypt shared object file" )
237
235
write_env ("PYMONGOCRYPT_LIB" , PYMONGOCRYPT_LIB .as_posix ())
You can’t perform that action at this time.
0 commit comments