Skip to content

Backport !3648 “build: Fix -Dlibelf=disabled on Linux” to glib-2-78

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)


Trivial backport of !3648 (merged) to glib-2-78.

Merge request reports