aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2016-07-24 12:43:47 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2016-07-24 12:43:47 +0300
commit156149388e65a4000543cc75a4ce08cae1019bbb (patch)
treededd52c12f3e012547a31f00e0dd1aa728ec78a6
parentb072d72f942065db6581f510fb226d3042d4f3bb (diff)
downloadmeson-156149388e65a4000543cc75a4ce08cae1019bbb.zip
meson-156149388e65a4000543cc75a4ce08cae1019bbb.tar.gz
meson-156149388e65a4000543cc75a4ce08cae1019bbb.tar.bz2
Updated manual test 1.
-rw-r--r--manual tests/1 wrap/meson.build13
-rw-r--r--manual tests/1 wrap/subprojects/sqlite.wrap6
2 files changed, 9 insertions, 10 deletions
diff --git a/manual tests/1 wrap/meson.build b/manual tests/1 wrap/meson.build
index 99ea260..aee358d 100644
--- a/manual tests/1 wrap/meson.build
+++ b/manual tests/1 wrap/meson.build
@@ -1,14 +1,13 @@
project('downloader', 'c')
-s = subproject('sqlite')
+cc = meson.get_compiler('c')
-libdl = find_library('dl', required : false)
+s = subproject('sqlite').get_variable('sqlite_dep')
+th = dependency('threads')
+
+libdl = cc.find_library('dl', required : false)
e = executable('dtest', 'main.c',
- include_directories : s.get_variable('sqinc'),
- link_args : ['-pthread'],
- c_args : '-pthread',
- dependencies : libdl,
- link_with : s.get_variable('sqlib'))
+ dependencies : [th, libdl, s])
test('dltest', e)
diff --git a/manual tests/1 wrap/subprojects/sqlite.wrap b/manual tests/1 wrap/subprojects/sqlite.wrap
index cf6ff7a..6d14949 100644
--- a/manual tests/1 wrap/subprojects/sqlite.wrap
+++ b/manual tests/1 wrap/subprojects/sqlite.wrap
@@ -5,6 +5,6 @@ source_url = http://sqlite.com/2015/sqlite-amalgamation-3080802.zip
source_filename = sqlite-amalgamation-3080802.zip
source_hash = 5ebeea0dfb75d090ea0e7ff84799b2a7a1550db3fe61eb5f6f61c2e971e57663
-patch_url = http://wrapdb.mesonbuild.com/v1/projects/sqlite/3080802/2/get_zip
-patch_filename = sqlite-3080802-2-wrap.zip
-patch_hash = 300eb0e16cf7d32e873f16617de959c0a3e914614c5fddcff858fc010db10688
+patch_url = https://wrapdb.mesonbuild.com/v1/projects/sqlite/3080802/5/get_zip
+patch_filename = sqlite-3080802-5-wrap.zip
+patch_hash = d66469a73fa1344562d56a1d7627d5d0ee4044a77b32d16cf4bbb85741d4c9fd