How to set execution flag for native dependency under windows

Hey there,

I have a python logic with a native dependency (compiled C++ code) which I want to put on AWS Lambda. I am using Windows. When I deploy my logic with Serverless framework the execution flag gets unset and when I run the Lambda function I get therefore the ERRNO 13 Permission denied error.

So apparently when Serverless framework zips the package the execution flag gets unset. When I zip it myself using the standard zipper from windows everything works fine. It also works when I use Serverless Framework from a linux system.

Is there a way to fix this problem?

Thank you in advance!