blob: 128c213ac3bc73108c731fe8d2cca0ecb785d8dc [file] [log] [blame]
project('libtestprovider','c')
libtestprovider=static_library('testprovider',
files('./provider.c'),
install:true,
c_args:['-Wall','-Werror'],
)
pkg = import('pkgconfig')
pkg.generate(
name:'testprovider',
filebase:'libtestprovider',
description: 'fortest',
requires: [],
libraries_private: ['-Wl,--whole-archive'] +
['-L${libdir}','-l:libtestprovider.a']+
['-Wl,--no-whole-archive']
)