From 470008f09c6de31ebe53f3dd9cd405fd007810d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Wed, 5 Sep 2018 11:53:46 +0300 Subject: [PATCH] Factorize the building of test DLLs in the dockerfile --- Dockerfile.dev | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile.dev b/Dockerfile.dev index e901359..70805f0 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -73,7 +73,9 @@ RUN cd test && \ for test in hello-cpp hello-exception tlstest-main; do \ $arch-w64-mingw32-clang++ $test.cpp -o $arch/$test.exe || exit 1; \ done; \ - $arch-w64-mingw32-clang++ tlstest-lib.cpp -shared -o $arch/tlstest-lib.dll || exit 1; \ + for test in tlstest-lib; do \ + $arch-w64-mingw32-clang++ $test.cpp -shared -o $arch/$test.dll || exit 1; \ + done; \ done # Build libssp