projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix weight comparison in edge BFS
[tinc]
/
src
/
meson.build
diff --git
a/src/meson.build
b/src/meson.build
index
adf82f6
..
d9f7b14
100644
(file)
--- a/
src/meson.build
+++ b/
src/meson.build
@@
-358,16
+358,17
@@
endif
subdir(opt_crypto)
subdir(opt_crypto)
-if opt_crypto != 'openssl'
- src_lib_crypto += 'crypto.c'
-endif
-
if opt_crypto != 'nolegacy'
src_lib_crypto += ['cipher.c', 'digest.c']
endif
subdir('include')
if opt_crypto != 'nolegacy'
src_lib_crypto += ['cipher.c', 'digest.c']
endif
subdir('include')
+have_sandbox = cdata.has('HAVE_SANDBOX')
+if not have_sandbox
+ src_lib_common += 'sandbox.c'
+endif
+
lib_crypto = static_library(
'tinc_crypto',
sources: src_lib_crypto,
lib_crypto = static_library(
'tinc_crypto',
sources: src_lib_crypto,