subproject using wrap-file is broken since commit (68bd64c
Prevent
projects from directly grabbing files from other subprojects. )
subproject with wrap-file usually have version number after name
- **sproj_name** is `zlib-1.2.8` according to `directory = zlib-1.2.8`
of zlib.wrap
- but **self.subproject** `zlib`
pull/2497/head
parent
3f18e3b89f
commit
36d85db5d4
7 changed files with 21 additions and 2 deletions
@ -0,0 +1,3 @@ |
||||
project('mainproj', 'c') |
||||
|
||||
subproject('zlib') |
@ -0,0 +1 @@ |
||||
dummy |
@ -0,0 +1 @@ |
||||
dummy |
@ -0,0 +1,2 @@ |
||||
project('shared lib', 'c') |
||||
shared_library('foo', 'foo.c') |
@ -0,0 +1,10 @@ |
||||
[wrap-file] |
||||
directory = zlib-1.2.8 |
||||
|
||||
source_url = http://zlib.net/fossils/zlib-1.2.8.tar.gz |
||||
source_filename = zlib-1.2.8.tar.gz |
||||
source_hash = 36658cb768a54c1d4dec43c3116c27ed893e88b02ecfcb44f2166f9c0b7f2a0d |
||||
|
||||
patch_url = https://wrapdb.mesonbuild.com/v1/projects/zlib/1.2.8/8/get_zip |
||||
patch_filename = zlib-1.2.8-8-wrap.zip |
||||
patch_hash = 17c52a0e0c59ce926d3959005d5cd8178c6c7e2c9a4a1304279a8320c955ac60 |
Loading…
Reference in new issue