]> xenbits.xensource.com Git - unikraft/libs/libunwind.git/commitdiff
Fix global include paths
authorCostin Lupu <costin.lupu@cs.pub.ro>
Wed, 21 Aug 2019 12:27:21 +0000 (15:27 +0300)
committerFelipe Huici <felipe.huici@neclab.eu>
Wed, 21 Aug 2019 16:04:49 +0000 (18:04 +0200)
The headers from the src/ subdirectory should be included only for
this library's source code.

Signed-off-by: Costin Lupu <costin.lupu@cs.pub.ro>
Reviewed-by: Felipe Huici <felipe.huici@neclab.eu>
Makefile.uk

index 109e5e85b13d21b6d2d3a3b3396a8854bf25b361..5e27c44d1009a6135f686bfb862c65607a9cc334 100644 (file)
@@ -65,11 +65,12 @@ LIBUNWIND_SRC=$(LIBUNWIND_ORIGIN)/$(LIBUNWIND_SUBDIR)
 ################################################################################
 # Library includes
 ################################################################################
-CINCLUDES-$(CONFIG_LIBUNWIND) += -I$(LIBUNWIND_SRC)/src
 CINCLUDES-$(CONFIG_LIBUNWIND) += -I$(LIBUNWIND_SRC)/include
-CXXINCLUDES-$(CONFIG_LIBUNWIND) += -I$(LIBUNWIND_SRC)/src
 CXXINCLUDES-$(CONFIG_LIBUNWIND) += -I$(LIBUNWIND_SRC)/include
 
+LIBUNWIND_CINCLUDES-y   += -I$(LIBUNWIND_SRC)/src
+LIBUNWIND_CXXINCLUDES-y += -I$(LIBUNWIND_SRC)/src
+
 ################################################################################
 # Global flags
 ################################################################################