mirror of
https://github.com/kovidgoyal/kitty.git
synced 2024-11-13 12:09:35 +03:00
Do a full link test for rs_sig_args
This commit is contained in:
parent
7cf73c10ac
commit
76d6820af9
2
setup.py
2
setup.py
@ -278,7 +278,7 @@ def detect_librsync(cc: str, cflags: List[str], ldflags: List[str]) -> None:
|
||||
src='#include <librsync.h>\nint main(void) { rs_strerror(0); return 0; }'):
|
||||
raise SystemExit('The librsync library is required')
|
||||
# check for rs_sig_args() which was added to librsync in Apr 2020 version 2.3.0
|
||||
if test_compile(cc, *cflags, link_also=False, src='''
|
||||
if test_compile(cc, *cflags, libraries=('rsync',), ldflags=ldflags, src='''
|
||||
#include <librsync.h>
|
||||
int main(void) {
|
||||
rs_magic_number magic_number = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user