diff --git a/meta/recipes-extended/pam/libpam_1.7.2.bb b/meta/recipes-extended/pam/libpam_1.7.2.bb
index 6955a5f2f6..6e1c5899db 100644
--- a/meta/recipes-extended/pam/libpam_1.7.2.bb
+++ b/meta/recipes-extended/pam/libpam_1.7.2.bb
@@ -53,7 +53,7 @@ FILES:${PN}-xtests = "${datadir}/Linux-PAM/xtests"
 # libpam installs /etc/environment for use with the pam_env plugin. Make sure it is
 # packaged with the pam-plugin-env package to avoid breaking installations which
 # install that file via other packages
-FILES:pam-plugin-env = "${sysconfdir}/environment"
+FILES:${MLPREFIX}pam-plugin-env = "${sysconfdir}/environment"
 
 PACKAGES_DYNAMIC += "^${MLPREFIX}pam-plugin-.*"
 
