diff --git a/.gitignore b/.gitignore
index f2c803e67b5e9e48519e338625c7bc5185bc1784..a9f092964a94007b7c9363da226dd56011efc382 100644
--- a/.gitignore
+++ b/.gitignore
@@ -14,4 +14,4 @@ _local_tmp
 RELEASE-VERSION
 test-report
 pystencils/boundaries/createindexlistcython.c
-pystencils/boundaries/createindexlistcython.cpython-38-x86_64-linux-gnu.so
+pystencils/boundaries/createindexlistcython.*.so