Skip to content

build: Fix -Dlibelf=disabled on Linux

Philip Withnall requested to merge pwithnall/glib:3120-libelf-disabling into main

Commit f6c40b1d fixed libelf detection on FreeBSD (where the library has no pkg-config file and needs to be found via find_library()), but broke -Dlibelf=disabled on Linux, as get_option('libelf') was no longer checked.

Signed-off-by: Philip Withnall pwithnall@endlessos.org

Fixes: #3120 (closed)

Closes #3120 (closed)

Merge request reports