libfido2: Fix test for Linux

Fixes:
/home/linuxbrew/.linuxbrew/Cellar/libfido2/1.7.0/include/fido/types.h:54:9: error: unknown type name ‘sigset_t’
typedef sigset_t fido_sigset_t;

This type is not part of the c99 standard
master
Michka Popoff 2021-03-29 23:42:51 +02:00
parent b40b09ee4b
commit 295b2a4fe4
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ class Libfido2 < Formula
fido_dev_info_free(&devlist, max_devices);
}
EOF
system ENV.cc, "-std=c99", "test.c", "-I#{include}", "-I#{Formula["openssl@1.1"].include}", "-o", "test",
system ENV.cc, "test.c", "-I#{include}", "-I#{Formula["openssl@1.1"].include}", "-o", "test",
"-L#{lib}", "-lfido2"
system "./test"
end