Build fix for mssql on non-x86_64 platforms

This commit is contained in:
Nathan Scott 2021-02-11 09:09:17 +11:00
parent 4cdc32ade5
commit f681046f59
1 changed files with 6 additions and 0 deletions

View File

@ -2610,6 +2610,12 @@ BEGIN {
printf ("%s\n", $0) >> f;
}'
%if %{disable_mssql}
# TODO: integrate better into the PCP build (via autoconf)
# so that this and other mssql artifacts are not generated.
rm -f pcp-pmda-mssql.conf
%endif
for tmpfile in *.conf ; \
do \
mv $tmpfile $DIST_ROOT/$PCP_SYSTEMDTMPFILES_DIR/$tmpfile; \