summaryrefslogtreecommitdiffstats
path: root/build.info
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-02-10 02:18:38 +0100
committerRichard Levitte <levitte@openssl.org>2016-02-10 05:09:39 +0100
commite8461ee1d17d64dddcdedf133c7f47ab4ac15ff2 (patch)
tree2047744343068b6cac57cb21b0cecd26bad94578 /build.info
parent2e963849b7ec501e4f2d6ffee31e08b2643b6e11 (diff)
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 <rsalz@openssl.org>
Diffstat (limited to 'build.info')
-rw-r--r--build.info6
1 files changed, 3 insertions, 3 deletions
diff --git a/build.info b/build.info
index 043947c012..a518efeae6 100644
--- a/build.info
+++ b/build.info
@@ -1,7 +1,7 @@
-{- use File::Spec::Functions qw/catdir abs2rel/; -}
+{- use File::Spec::Functions qw/catdir rel2abs/; -}
LIBS=libcrypto libssl
ORDINALS[libcrypto]=crypto
ORDINALS[libssl]=ssl
-INCLUDE[libcrypto]={- catdir(abs2rel($builddir,$sourcedir),"include") -} . crypto/include include
-INCLUDE[libssl]={- catdir(abs2rel($builddir,$sourcedir),"include") -} . include
+INCLUDE[libcrypto]={- rel2abs(catdir($builddir,"include")) -} . crypto/include include
+INCLUDE[libssl]={- rel2abs(catdir($builddir,"include")) -} . include
DEPEND[libssl]=libcrypto