]> arthur.barton.de Git - bup.git/commit
configure.inc: fix LDFLAGS validation
authorRob Browning <rlb@defaultvalue.org>
Sat, 9 Jul 2022 18:15:53 +0000 (13:15 -0500)
committerRob Browning <rlb@defaultvalue.org>
Mon, 11 Jul 2022 18:19:17 +0000 (13:19 -0500)
commit36fce270ed41330d1cf4ada5dda17c1b816f677d
tree36e10e6321181aa64e30117398064b842d3b771f
parent386a280b06e4d3bf48b8f2f3ddbe2dd678dae50e
configure.inc: fix LDFLAGS validation

Change the CFLAGS validation to create ngc$$ instead of ngc$$.o since
it doesn't specify -c.

Change the LDFLAGS validation to create the .o file it needs.
Previously it relied on the CFLAGS test, which was optional, to do
that, and the CFLAGS test was actually creating an executable, not an
object file.

Thanks to Greg Troxel for reporting the omission.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
config/configure.inc