diff options
-rw-r--r-- | RepositoryExternal.mk | 5 | ||||
-rw-r--r-- | svtools/Library_svt.mk | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk index b607ac8700b6..d762282bfb33 100644 --- a/RepositoryExternal.mk +++ b/RepositoryExternal.mk @@ -120,6 +120,11 @@ $(eval $(call gb_Helper_register_static_libraries,PLAINLIBS, \ )) define gb_LinkTarget__use_jpeg +$(call gb_LinkTarget_set_include,$(1),\ + $$(INCLUDE) \ + -I$(OUTDIR)/inc/external/jpeg \ +) + $(call gb_LinkTarget_add_linked_static_libs,$(1),\ jpeglib \ ) diff --git a/svtools/Library_svt.mk b/svtools/Library_svt.mk index d987e59ec7cc..120e07766324 100644 --- a/svtools/Library_svt.mk +++ b/svtools/Library_svt.mk @@ -38,7 +38,6 @@ $(eval $(call gb_Library_add_api,svt,\ )) $(eval $(call gb_Library_set_include,svt,\ - -I$(OUTDIR)/inc/external/jpeg \ $$(INCLUDE) \ -I$(WORKDIR)/inc/svtools \ -I$(WORKDIR)/inc/ \ |