From e8461ee1d17d64dddcdedf133c7f47ab4ac15ff2 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Wed, 10 Feb 2016 02:18:38 +0100 Subject: Simplify the specification of include dirs in the build dir In build.info files, make the include directory in the build directory absolute, or Configure will think it should be added to the source directory top. Configure will turn it into a relative path if possible. Reviewed-by: Rich Salz --- apps/build.info | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/build.info') diff --git a/apps/build.info b/apps/build.info index 8615f2ff87..f365aee56f 100644 --- a/apps/build.info +++ b/apps/build.info @@ -1,4 +1,4 @@ -{- use File::Spec::Functions qw/catdir abs2rel/; -} +{- use File::Spec::Functions qw/catdir rel2abs/; -} PROGRAMS=openssl SOURCE[openssl]=\ openssl.c \ @@ -10,7 +10,7 @@ SOURCE[openssl]=\ srp.c ts.c verify.c version.c x509.c rehash.c \ apps.c opt.c s_cb.c s_socket.c \ app_rand.c -INCLUDE[openssl]={- catdir(abs2rel($builddir,$sourcedir),"../include") -} .. ../include +INCLUDE[openssl]={- rel2abs(catdir($builddir,"../include")) -} .. ../include DEPEND[openssl]=../libssl SCRIPTS=CA.pl -- cgit v1.2.3