Fix failing link on empty file

This commit is contained in:
flysand7 2023-08-01 11:26:13 +11:00
parent b2ae7be654
commit 5a9bea11ad
1 changed files with 2 additions and 2 deletions

View File

@ -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')