summaryrefslogtreecommitdiff
path: root/RepositoryExternal.mk
diff options
context:
space:
mode:
Diffstat (limited to 'RepositoryExternal.mk')
-rw-r--r--RepositoryExternal.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk
index 43202ca5385a..74ac19004333 100644
--- a/RepositoryExternal.mk
+++ b/RepositoryExternal.mk
@@ -1073,7 +1073,7 @@ endif # ANDROID
endif # SYSTEM_REDLAND
-ifeq ($(SYSTEM_CAIRO),YES)
+ifneq ($(SYSTEM_CAIRO),)
define gb_LinkTarget__use_cairo
$(call gb_LinkTarget_set_include,$(1),\
@@ -1085,7 +1085,7 @@ $(call gb_LinkTarget_add_libs,$(1),$(CAIRO_LIBS))
endef
-else ifeq ($(SYSTEM_CAIRO),NO)
+else # !SYSTEM_CAIRO
define gb_LinkTarget__use_cairo
$(call gb_LinkTarget_use_package,$(1),cairo)