From 41850f6bdc2f2ba3054e52064cc8f6ffb8ec36ae Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Sat, 19 Mar 2016 11:24:00 +0100 Subject: [PATCH] The command source are files, not directories Therefore, they should be concatenated with the source directory using catfile(), not catdir() Reviewed-by: Rich Salz --- apps/build.info | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/build.info b/apps/build.info index 0d4aad3a1e..12a1a7e24f 100644 --- a/apps/build.info +++ b/apps/build.info @@ -1,4 +1,4 @@ -{- use File::Spec::Functions qw/catdir rel2abs/; +{- use File::Spec::Functions qw/catdir catfile rel2abs/; our @cmd_srcs = ( "asn1pars.c", "ca.c", "ciphers.c", "cms.c", "crl.c", "crl2p7.c", "dgst.c", "dhparam.c", "dsa.c", "dsaparam.c", "ec.c", "ecparam.c", @@ -20,7 +20,7 @@ SOURCE[openssl]=\ {- $target{apps_aux_src} -} DEPEND[openssl.o]=progs.h DEPEND[progs.h]={- join(" ", @cmd_srcs); -} ../configdata.pm -GENERATE[progs.h]=progs.pl {- join(" ", map { catdir($sourcedir, $_) } @cmd_srcs); -} +GENERATE[progs.h]=progs.pl {- join(" ", map { catfile($sourcedir, $_) } @cmd_srcs); -} INCLUDE[openssl]={- rel2abs(catdir($builddir,"../include")) -} .. ../include DEPEND[openssl]=../libssl