mk: introduce EXTRA_LDLIBS variable