145-keep_libelf_optional.patch 235 B

1234567891011
  1. --- a/configure
  2. +++ b/configure
  3. @@ -228,7 +228,7 @@ EOF
  4. check_elf()
  5. {
  6. - if ${PKG_CONFIG} libelf --exists; then
  7. + if [ "${HAVE_ELF}" = "y" ] && ${PKG_CONFIG} libelf --exists; then
  8. echo "HAVE_ELF:=y" >>$CONFIG
  9. echo "yes"