summaryrefslogtreecommitdiffstats
path: root/test cases/unit/29 guessed linker dependencies/lib/meson.build
blob: 36df112b2a1ff74d1ec77cbc4ab0e709537ab2b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
project('lib1', ['c'])

c_args = []

# Microsoft's compiler is quite smart about touching import libs on changes,
# so ensure that there is actually a change in symbols.
if get_option('more_exports')
    c_args += '-DMORE_EXPORTS'
endif

a = library('test-lib', 'lib.c', c_args: c_args, install: true)