Fix build
This commit is contained in:
parent
625ffd441d
commit
a26307b281
2 changed files with 5 additions and 4 deletions
|
@ -216,9 +216,9 @@ AC_SUBST(storedir)
|
||||||
|
|
||||||
|
|
||||||
# Look for OpenSSL, an optional dependency.
|
# Look for OpenSSL, an optional dependency.
|
||||||
AC_PATH_PROG(openssl_prog, openssl, openssl) # if not found, call openssl in $PATH
|
AC_PATH_PROG(openssl, openssl, openssl) # if not found, call openssl in $PATH
|
||||||
AC_SUBST(openssl_prog)
|
AC_SUBST(openssl)
|
||||||
AC_DEFINE_UNQUOTED(OPENSSL_PATH, ["$openssl_prog"], [Path of the OpenSSL binary])
|
AC_DEFINE_UNQUOTED(OPENSSL_PATH, ["$openssl"], [Path of the OpenSSL binary])
|
||||||
|
|
||||||
PKG_CHECK_MODULES([OPENSSL], [libcrypto],
|
PKG_CHECK_MODULES([OPENSSL], [libcrypto],
|
||||||
[AC_DEFINE([HAVE_OPENSSL], [1], [Whether to use OpenSSL.])
|
[AC_DEFINE([HAVE_OPENSSL], [1], [Whether to use OpenSSL.])
|
||||||
|
|
|
@ -5,7 +5,8 @@ nix_perl_sources := \
|
||||||
$(d)/lib/Nix/SSH.pm \
|
$(d)/lib/Nix/SSH.pm \
|
||||||
$(d)/lib/Nix/CopyClosure.pm \
|
$(d)/lib/Nix/CopyClosure.pm \
|
||||||
$(d)/lib/Nix/Config.pm.in \
|
$(d)/lib/Nix/Config.pm.in \
|
||||||
$(d)/lib/Nix/Utils.pm
|
$(d)/lib/Nix/Utils.pm \
|
||||||
|
$(d)/lib/Nix/Crypto.pm
|
||||||
|
|
||||||
nix_perl_modules := $(nix_perl_sources:.in=)
|
nix_perl_modules := $(nix_perl_sources:.in=)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue