]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Pass COMPATINCLUDES down to openbsd-compat too.
authorDarren Tucker <dtucker@dtucker.net>
Thu, 2 Oct 2025 00:48:04 +0000 (10:48 +1000)
committerDarren Tucker <dtucker@dtucker.net>
Thu, 2 Oct 2025 00:49:10 +0000 (10:49 +1000)
Fixes build on Solaris, AIX and probably others.

openbsd-compat/Makefile.in

index 5bce2b38bc052b10f74a86e64cc2650ace3ecebd..53c87db6d01e09406efa2af18afa060c55acad0c 100644 (file)
@@ -3,12 +3,14 @@ piddir=@piddir@
 srcdir=@srcdir@
 top_srcdir=@top_srcdir@
 
+BUILDDIR=@abs_top_builddir@
 VPATH=@srcdir@
 CC=@CC@
 LD=@LD@
 CFLAGS=@CFLAGS@
 CFLAGS_NOPIE=@CFLAGS_NOPIE@
-CPPFLAGS=-I. -I.. -I$(srcdir) -I$(srcdir)/.. @CPPFLAGS@ @DEFS@
+COMPATINCLUDES="$(BUILDDIR)/@COMPATINCLUDES@"
+CPPFLAGS=-I. -I.. -I$(srcdir) -I$(srcdir)/.. -I$(COMPATINCLUDES) @CPPFLAGS@ @DEFS@
 PICFLAG=@PICFLAG@
 LIBS=@LIBS@
 AR=@AR@