The command source are files, not directories
authorRichard Levitte <levitte@openssl.org>
Sat, 19 Mar 2016 10:24:00 +0000 (11:24 +0100)
committerRichard Levitte <levitte@openssl.org>
Sat, 19 Mar 2016 10:24:00 +0000 (11:24 +0100)
Therefore, they should be concatenated with the source directory using
catfile(), not catdir()

Reviewed-by: Rich Salz <rsalz@openssl.org>
apps/build.info

index 0d4aad3a1e760e71bd6a5a7cf0df022aef5fe4c1..12a1a7e24f5686926ac66856c391e2f420ca5937 100644 (file)
@@ -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