When user uses %meson -Denable_cool_feature=true current macro fails because RPM adds flag after popd: ... pushd x86_64-redhat-linux-gnu /usr/bin/meson ... $OLDPWD/. popd -Denable_cool_feature Since meson can accept $srcdir and $builddir arugments we don't have this problem with pushd/popd. It also simplifies things a bit. Reported-by: Richard Hughes <richard@hughsie.com> References: https://bugzilla.redhat.com/show_bug.cgi?id=1401062 Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>pull/1189/head
parent
b01d2c35b7
commit
dcd3c21712
1 changed files with 14 additions and 16 deletions
Loading…
Reference in new issue