aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/unit/52 ldflagdedup/meson.build
blob: 0bbcc503d84c8affbc498433acb238056e0a9898 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
project('lddedup', 'c')

# Chosen because its ldflags contains -Wl,--export-dynamic,
# which must be deduplicated.
gm = dependency('gmodule-2.0')

lib = static_library('bob', 'bob.c',
  dependencies: gm)

executable('prog', 'prog.c',
  link_with: lib,
  dependencies: gm)