Factorize the building of test DLLs in the dockerfile

This commit is contained in:
Martin Storsjö committed 2018-09-05 11:53:46 +03:00
1 parent 09567cdc96
commit 470008f09c
1 file changed
+3 -1
+3 -1
View File
@@ -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