From 9dadb313b56d7b0c22c956981cf10cf366b2db61 Mon Sep 17 00:00:00 2001 From: Mats A Date: Tue, 23 Jul 2019 20:23:54 +0200 Subject: [PATCH] add defs and includes from Makefile.common to the build params --- Makefile.libnx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile.libnx b/Makefile.libnx index a1cc8ba354..436424ebd3 100644 --- a/Makefile.libnx +++ b/Makefile.libnx @@ -133,6 +133,10 @@ ifeq ($(HAVE_OPENGL), 1) LIBS := -lEGL -lglapi -ldrm_nouveau $(LIBS) endif +# add things from Makefile.common +CFLAGS += $(DEF_FLAGS) +INCLUDES += $(INCLUDE_DIRS) + #--------------------------------------------------------------------------------- # list of directories containing libraries, this must be the top level containing # include and lib