diff options
author | Jeremy Huddleston Sequoia <jeremyhu@apple.com> | 2015-10-11 16:46:55 -0700 |
---|---|---|
committer | Brent Cook <bcook@openbsd.org> | 2015-10-14 16:33:39 -0500 |
commit | 448645d47991e36337c11dff0271be77218e82c7 (patch) | |
tree | 13b11ef192d3ccc1206bf7119624716457b44591 /Makefile.am.common | |
parent | 9afc452761c630816e443b9e945f3db2259afbb9 (diff) | |
download | portable-448645d47991e36337c11dff0271be77218e82c7.tar.gz portable-448645d47991e36337c11dff0271be77218e82c7.tar.bz2 portable-448645d47991e36337c11dff0271be77218e82c7.zip |
Use bundled headers instead of installed headers when building
The build system incorrectly set include directives in AM_CFLAGS which
causes them to be placed after the configured CPPFLAGS. Thus, if
a user or packaging system sets CPPFLAGS to a location that has
libressl or openssl headers installed, they will be used instead
of the bundled versions. This corrects that issue by setting up
the variables correctly.
https://github.com/libressl-portable/portable/issues/150
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Diffstat (limited to 'Makefile.am.common')
-rw-r--r-- | Makefile.am.common | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am.common b/Makefile.am.common index b00473d..49019ec 100644 --- a/Makefile.am.common +++ b/Makefile.am.common | |||
@@ -1,2 +1,2 @@ | |||
1 | AM_CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/include/compat | 1 | AM_CFLAGS = |
2 | AM_CPPFLAGS = -DLIBRESSL_INTERNAL | 2 | AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/include/compat -DLIBRESSL_INTERNAL |