Build without libelf
libelf comes under LGPL-3+/GPL-2+ dual license, of which we have to choose GPL-2 for target. However, we don’t want to contaminate mesa with the GPL, so we have to disable linking to libelf.
See https://phabricator.apertis.org/T6342 for details.
Signed-off-by: Andrej Shadura andrew.shadura@collabora.co.uk
Edited by Andrej Shadura