mesonbuild/meson

Substitute absolute path to files() when used in string formatting

オープン

#1,592 opened on 2017/04/09

 (11 件のコメント) (0 件のリアクション) (0 人の担当者)Python (1,465 件のフォーク)batch import
enhancementhelp wanted

Repository metrics

Stars
 (4,978 個のスター)
PR merge metrics
 (平均マージ 139d 13h) (30d で 51 merged PRs)

説明

From https://github.com/systemd/systemd/pull/5704#issuecomment-292796493:

But I have a trouble with makes files() work in more complicated cases: I need to a path to libudev.sym to specify it as a substring in -Wl,--version-script= option. I tried '-Wl,--version-script=' + libudev_sym '-Wl,--version-script=@0@'.format(libudev_sym)

In either of those two cases, we should substitute the absolute path to the files() object. I thought about relative paths, but there are too many corner-cases.

コントリビューターガイド