mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
cc: add -ldl and .o in cross builds
This commit is contained in:
parent
63ef04e03e
commit
076d0208cd
@ -555,9 +555,11 @@ fn (mut b Builder) cc_linux_cross() {
|
||||
'-lcrypto'
|
||||
'-lssl'
|
||||
'-lpthread'
|
||||
'-ldl'
|
||||
//'-dynamic-linker /usr/lib/x86_64-linux-gnu/libcrypto.so'
|
||||
//'SYSROOT/lib/x86_64-linux-gnu/libssl.a'
|
||||
'$sysroot/crtn.o'
|
||||
cflags.c_options_only_object_files()
|
||||
]
|
||||
linker_args_str := linker_args.join(' ')
|
||||
cmd := '$sysroot/ld.lld ' + linker_args_str
|
||||
|
Loading…
Reference in New Issue
Block a user