]> git.ipfire.org Git - thirdparty/openssl.git/commit - Configure
Configure: let INCLUDEs set on binaries "trickle down" to the objects
authorRichard Levitte <levitte@openssl.org>
Tue, 23 Jan 2018 18:07:14 +0000 (19:07 +0100)
committerRichard Levitte <levitte@openssl.org>
Wed, 24 Jan 2018 14:54:01 +0000 (15:54 +0100)
commit1b5ad51fc9b29d8893d5224f00bb3360f8aca465
treee185577aae6eed646e131b65756105f34c613248
parent4bed94f0c11ef63587c6b2edb03c3c438e221604
Configure: let INCLUDEs set on binaries "trickle down" to the objects

This ensures that only one set of includes is associated with each
object file, reagardless of where it's used.

For example, if apps/build.info has this:

    SOURCE[openssl]=foo.c
    INCLUDE[openssl]=.. ../include

and test/build.info has this:

    SOURCE[footest]=../apps/foo.c
    INCLUDE[footest]=../include

The inclusion directories used for apps/foo.o would differ depending
on which program's dependencies get generated first in the build file.

With this change, all those INCLUDEs get combined into one set of
inclusion directories tied to the object file.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5153)
Configurations/common.tmpl
Configure