aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mesonlib
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2021-06-22 15:56:34 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2021-06-22 15:56:46 +0200
commitbd75e0398fc66a71ecab297fefe68d0066c38a81 (patch)
tree89cd30daa8e2a7cbb7d052def4d66e021a26bce9 /mesonbuild/mesonlib
parenta656febccf6614008086bf124858826615924df7 (diff)
downloadmeson-bd75e0398fc66a71ecab297fefe68d0066c38a81.zip
meson-bd75e0398fc66a71ecab297fefe68d0066c38a81.tar.gz
meson-bd75e0398fc66a71ecab297fefe68d0066c38a81.tar.bz2
extract_objects: skip headers when building custom_target command line
As seen in the testcase, passing objects to custom_target does not work if headers are passed extract_objects(), or if extract_all_objects() is used and the sources include any header files. To fix this, use the code that already exists for unity build to filter out the nonexistent ".h.o" files. This already gives for free the handling of genlist, which was mentioned in a TODO comment.
Diffstat (limited to 'mesonbuild/mesonlib')
0 files changed, 0 insertions, 0 deletions