| 1 |
project('lddedup', 'c') |
| 2 |
|
| 3 |
# Chosen because its ldflags contains -Wl,--export-dynamic, |
| 4 |
# which must be deduplicated. |
| 5 |
gm = dependency('gmodule-2.0') |
| 6 |
|
| 7 |
lib = static_library('bob', 'bob.c', |
| 8 |
dependencies: gm) |
| 9 |
|
| 10 |
executable('prog', 'prog.c', |
| 11 |
link_with: lib, |
| 12 |
dependencies: gm) |