diff --git a/Makefile b/Makefile index b2e5824d2..7082c52da 100644 --- a/Makefile +++ b/Makefile @@ -34,6 +34,8 @@ GEN_SAIRPC_OPTS?= # Passed to meta/Makefile via "make saithrift-build, can specify add'l libraries along with libsai SAIRPC_EXTRA_LIBS?= +SAI_HEADER_DIR=../../inc + .PHONY: test doc clean doc: meta/xml @@ -46,7 +48,7 @@ test: make -C test saithrift-build: - SAIRPC_EXTRA_LIBS="$(SAIRPC_EXTRA_LIBS)" GEN_SAIRPC_OPTS="$(GEN_SAIRPC_OPTS)" make -C $(SAITHRIFT_PATH) + SAIRPC_EXTRA_LIBS="$(SAIRPC_EXTRA_LIBS)" GEN_SAIRPC_OPTS="$(GEN_SAIRPC_OPTS)" SAI_HEADER_DIR="$(SAI_HEADER_DIR)" make -C $(SAITHRIFT_PATH) saithrift-install: saithrift-build make -C $(SAITHRIFT_PATH) install