From: Prasanth R <prasanth.r@timesys.com>
Date: Mon, 9 Jun 2025 15:47:02 +0530

diff --git a/Makefile.PL b/Makefile.PL
index f6e2d49..d547496 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -5,7 +5,8 @@ sub configure {
     $ENV{'CC'} # If a compiler is not specified on the command line then
       or $ENV{'CC'} = $Config{'cc'}; # use the one with which perl was built
 
-    system("./configure") == 0 or
+my $host = $ENV{'HOST'};
+    system("./configure --host=$host") == 0 or
       die "Error in configuring the Authen::PAM module.\n";
 
     # returns a reference to anonymous hash which is then interpreted as
-- 
2.25.1

