From 5a9bea11ad24ed4ffe883b9465abe0703b680546 Mon Sep 17 00:00:00 2001 From: flysand7 Date: Tue, 1 Aug 2023 11:26:13 +1100 Subject: [PATCH] Fix failing link on empty file --- build.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.py b/build.py index 480214d..e8f4a17 100755 --- a/build.py +++ b/build.py @@ -260,6 +260,6 @@ archive([ciabatta_o], cia_lib) if args.test: if target == 'linux': - compile([args.test, cia_lib, crt_lib], 'a', '-pie') + compile([args.test, crt_lib, cia_lib], 'a', '-pie') elif target == 'windows': - compile([args.test, cia_lib, crt_lib], 'a.exe', '-lkernel32.lib') + compile([args.test, crt_lib, cia_lib], 'a.exe', '-lkernel32.lib')