merge/upstream-full #105
11
meson.build
11
meson.build
@@ -83,17 +83,6 @@ thread_dep = dependency('threads')
|
|||||||
math_dep = cc.find_library('m', required: true)
|
math_dep = cc.find_library('m', required: true)
|
||||||
libstrophe_dep = dependency('libstrophe', version: '>= 0.12.3')
|
libstrophe_dep = dependency('libstrophe', version: '>= 0.12.3')
|
||||||
|
|
||||||
# Check if libstrophe works
|
|
||||||
if not cc.links('''
|
|
||||||
#include <strophe.h>
|
|
||||||
int main() {
|
|
||||||
xmpp_initialize();
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
''', dependencies: libstrophe_dep)
|
|
||||||
error('libstrophe is broken')
|
|
||||||
endif
|
|
||||||
|
|
||||||
# Check for XMPP_CERT_PUBKEY_FINGERPRINT_SHA256 support
|
# Check for XMPP_CERT_PUBKEY_FINGERPRINT_SHA256 support
|
||||||
if cc.links('''
|
if cc.links('''
|
||||||
#include <strophe.h>
|
#include <strophe.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user