elflink: fix dependency problem in cmenu/Makefilesyslinux-5.00-pre6
commit4678fd92a21e0139b0126bafcccda82c16404d3e
authorH. Peter Anvin <hpa@zytor.com>
Fri, 29 Jun 2012 14:38:33 +0000 (29 07:38 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 29 Jun 2012 14:38:33 +0000 (29 07:38 -0700)
tree66656435b5eac245bce87eeb59f5f620d1d2212f
parent62efc644beddf9e13198456eb1a00acca43b2927
elflink: fix dependency problem in cmenu/Makefile

Instead of adding library dependencies implicitly, make them explicit
and use --as-needed to avoid bogus DT_NEEDED entries from being
generated.

The other Makefiles should be adjusted accordingly as well.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Cc: Matt Fleming <matt.fleming@intel.com>
com32/cmenu/Makefile
mk/elf.mk