summaryrefslogtreecommitdiff
path: root/RepositoryExternal.mk
diff options
context:
space:
mode:
Diffstat (limited to 'RepositoryExternal.mk')
-rw-r--r--RepositoryExternal.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk
index c2f21a07a696..652e948ad407 100644
--- a/RepositoryExternal.mk
+++ b/RepositoryExternal.mk
@@ -89,9 +89,12 @@ endif
ifeq ($(SYSTEM_NPAPI_HEADERS),YES)
+# yes this uses internal headers too...
+# they are split across 2 dirs for this reason
define gb_LinkTarget__use_npapi_headers
$(call gb_LinkTarget_set_include,$(1),\
$(NPAPI_HEADERS_CFLAGS) \
+ -I$(SRCDIR)/np_sdk \
$$(INCLUDE) \
)
@@ -100,9 +103,9 @@ endef
else #!SYSTEM_NPAPI_HEADERS
define gb_LinkTarget__use_npapi_headers
-$(call gb_LinkTarget_use_package,$(1),npapi)
$(call gb_LinkTarget_set_include,$(1),\
- -I$(OUTDIR)/inc/external/npsdk \
+ -I$(SRCDIR)/np_sdk/inc \
+ -I$(SRCDIR)/np_sdk \
$$(INCLUDE) \
)