aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/failing/46 pkgconfig variables reserved/meson.build
blob: 82ae995d45e697fa0cfb1100b211bd0b0cf30851 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
project('variables-reserved-test', 'c', version : '1.0')

pkgg = import('pkgconfig')
lib = shared_library('simple', 'simple.c')
libver = '1.0'
h = install_headers('simple.h')

pkgg.generate(
  libraries : [lib, '-lz'],
  subdirs : '.',
  version : libver,
  name : 'libsimple',
  filebase : 'simple',
  description : 'A simple demo library.',
  variables : [ 'prefix=/tmp/' ]
)