forked from pool/zchunk
13 lines
785 B
Diff
13 lines
785 B
Diff
|
diff -Nur zchunk-1.1.9/meson.build new/meson.build
|
||
|
--- zchunk-1.1.9/meson.build 2020-12-30 23:47:08.000000000 +0100
|
||
|
+++ new/meson.build 2021-04-27 00:18:38.152514197 +0200
|
||
|
@@ -28,7 +28,7 @@
|
||
|
|
||
|
curl_dep = dependency('libcurl')
|
||
|
|
||
|
-if build_machine.system() == 'darwin' or build_machine.system() == 'freebsd' or not cc.links('#include <argp.h>\nstatic error_t parse_opt (int key, char *arg, struct argp_state *state) { argp_usage(state); }; void main() {}')
|
||
|
+if build_machine.system() == 'darwin' or build_machine.system() == 'freebsd' or not cc.links('#include <argp.h>\nstatic error_t parse_opt (int key, char *arg, struct argp_state *state) { argp_usage(state); return 0; }; void main() {}')
|
||
|
argplib = cc.find_library('argp')
|
||
|
else
|
||
|
argplib = dependency('', required : false)
|