Keep separator spaces in pkg-config declarations. Closes #3479.
parent
554266d6f2
commit
2b5766980b
4 changed files with 37 additions and 2 deletions
@ -0,0 +1,17 @@ |
||||
project('pkgformat', 'c', |
||||
version : '1.0') |
||||
|
||||
gio = dependency('gio-2.0', required: false) |
||||
if not gio.found() |
||||
error('MESON_SKIP_TEST glib not found.') |
||||
endif |
||||
|
||||
pkgg = import('pkgconfig') |
||||
|
||||
l = shared_library('something', 'somelib.c') |
||||
|
||||
pkgg.generate(libraries: l, |
||||
version: '1.0', |
||||
name: 'libsomething', |
||||
description: 'A library that does something', |
||||
requires: 'gobject-2.0 >= 2.54, gio-2.0 >= 2.54') |
@ -0,0 +1,5 @@ |
||||
#include<stdio.h> |
||||
|
||||
int some_func() { |
||||
return 0; |
||||
} |
Loading…
Reference in new issue