summaryrefslogtreecommitdiffstats
path: root/test cases/unit/97 link full name/libtestprovider/meson.build
blob: 128c213ac3bc73108c731fe8d2cca0ecb785d8dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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']
)