diff --git a/meta/recipes-devtools/patchelf/patchelf_git.bb b/meta/recipes-devtools/patchelf/patchelf_git.bb
index 6c88da1b098..adc1198937d 100644
--- a/meta/recipes-devtools/patchelf/patchelf_git.bb
+++ b/meta/recipes-devtools/patchelf/patchelf_git.bb
@@ -4,15 +4,14 @@ HOMEPAGE = "https://github.com/NixOS/patchelf"
 
 LICENSE = "GPL-3.0-only"
 
-SRC_URI = "git://github.com/NixOS/patchelf;protocol=https;branch=master \
-"
+SRC_URI = "git://github.com/NixOS/patchelf;protocol=https;branch=master"
 SRCREV = "7688b17c18d16f67fa8d5a82a2404c2e3a18648d"
 
 PV = "0.19.1"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=c678957b0c8e964aa6c70fd77641a71e"
 
-inherit autotools
+inherit meson
 
 PACKAGES += "${PN}-zsh-completion"
 FILES:${PN}-zsh-completion = "${datadir}/zsh"
