Skip to content

Commit f7cc84d

Browse files
author
Martin Larralde
committed
Fix discovery of extension name in build_rust
1 parent 11cda28 commit f7cc84d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

setuptools_rust/build.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ def build_extension(self, ext):
186186
dylib_ext = "dylib"
187187
else:
188188
dylib_ext = "so"
189+
ext.basename = ext.name.rsplit('.', 1)[-1]
189190
wildcard_so = "*{}.{}".format(ext.basename, dylib_ext)
190191

191192
try:

0 commit comments

Comments
 (0)