Skip to content

Commit db98267

Browse files
authored
Merge pull request #441 from igaw/drop-nostdinc-libressl
build: Drop -nostdinc for LibreSSL header checks
2 parents f6748bb + 40bd105 commit db98267

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

meson.build

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,9 @@ if openssl_dep.found()
8181
# Test for LibreSSL v3.x with incomplete OpenSSL v3 APIs
8282
is_libressl = cc.has_header_symbol('openssl/opensslv.h',
8383
'LIBRESSL_VERSION_NUMBER',
84-
dependencies: openssl_dep,
85-
args: '-nostdinc')
84+
dependencies: openssl_dep)
8685
has_header = cc.has_header('openssl/core_names.h',
87-
dependencies: openssl_dep,
88-
args: '-nostdinc')
86+
dependencies: openssl_dep)
8987
if is_libressl and not has_header
9088
api_version = 1
9189
endif

0 commit comments

Comments
 (0)