De-duplicate dependency list
@@ -368,12 +368,7 @@ secp256k1_dep = dependency('libsecp256k1', version: '>=0.1.0', fallback: ['secp2
libsni_dep = dependency('libsni', version: '>=0.5.0', fallback: ['libsni', 'libsni_dep'])
-executable('urbit',
-sources : sources,
-include_directories : incdir,
-c_args : os_c_flags,
-link_args: os_link_flags,
-dependencies: [openssl_dep,
+deps = [openssl_dep,
curl_dep,
libuv_dep,
libh2o_dep,
@@ -386,7 +381,14 @@ dependencies: [openssl_dep,
murmur3_dep,
argon2_dep,
softfloat3_dep,
- libsni_dep] + os_deps,
+ libsni_dep]
+
+executable('urbit',
+sources : sources,
+include_directories : incdir,
+c_args : os_c_flags,
+link_args: os_link_flags,
+dependencies: deps + os_deps,
install: true)
# XX shrink this list
@@ -397,18 +399,7 @@ sources : test_sources + ['tests/hashtable_tests.c'],
include_directories : incdir,
c_args : os_c_flags,
link_args: os_link_flags,
-dependencies: [openssl_dep,
- curl_dep,
- libuv_dep,
- libh2o_dep,
- cmark_dep,
- gmp_dep,
- sigsegv_dep,
- urbitscrypt_dep,
- ed25519_dep,
- murmur3_dep,
- softfloat3_dep,
- libsni_dep] + os_deps,
+dependencies: deps + os_deps,
install: false)
test('test-hashtable', test_hashtable)
@@ -420,18 +411,7 @@ sources : test_sources + ['tests/test.c'],
include_directories : incdir,
c_args : os_c_flags,
link_args: os_link_flags,
-dependencies: [openssl_dep,
- curl_dep,
- libuv_dep,
- libh2o_dep,
- cmark_dep,
- gmp_dep,
- sigsegv_dep,
- urbitscrypt_dep,
- ed25519_dep,
- murmur3_dep,
- softfloat3_dep,
- libsni_dep] + os_deps,
+dependencies: deps + os_deps,
install: false)
test('test-mem', test_mem, should_fail: true)
