nixpkgs/pkgs/servers/mail/opensmtpd/cross_fix.diff
squalus 1fbd921649
opensmtpd: support cross compile (#170379)
* opensmtpd: support cross compile

* add comment to remember the linked PR

Co-authored-by: Léo Gaspard <leo@gaspard.io>
2022-04-26 19:47:52 +02:00

13 lines
335 B
Diff

diff --git a/configure.ac b/configure.ac
index c215f3bf..f5aa25d8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -67,7 +67,7 @@ AC_C_BIGENDIAN
AC_PROG_CPP
AC_PROG_INSTALL
AC_PROG_LIBTOOL
-AC_PATH_PROG([AR], [ar])
+AC_PATH_TOOL([AR], [ar])
AC_PATH_PROG([CAT], [cat])
AC_PATH_PROG([CHMOD], [chmod])
AC_PATH_PROG([CHOWN], [chown])