From 49c387b6c0290f9623f10540bb994514c5ce24d3 Mon Sep 17 00:00:00 2001 From: Thus0 <Thus0@users.noreply.github.com> Date: Fri, 21 Jan 2022 22:11:52 +0100 Subject: [PATCH] path to compile tinydtls on Windows (MSYS2) --- setup.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index d1cd560..8ef88d1 100644 --- a/setup.py +++ b/setup.py @@ -17,9 +17,9 @@ class prepare_tinydtls(build_ext): sys.exit(1) commands = [ - ["autoconf"], - ["autoheader"], - ["./configure", "--without-ecc"], + ["sh", "-c", "autoconf"], + ["sh", "-c", "autoheader"], + ["sh", "-c", "./configure", "--without-ecc"], ] if not os.path.exists(os.path.join(os.path.dirname(__file__), 'DTLSSocket','tinydtls','dtls.c')): run_command(["git", "submodule", "update", "--init"]) -- GitLab