summaryrefslogtreecommitdiff
path: root/sal/Library_sal.mk
diff options
context:
space:
mode:
Diffstat (limited to 'sal/Library_sal.mk')
-rw-r--r--sal/Library_sal.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/sal/Library_sal.mk b/sal/Library_sal.mk
index 4bf8df18c6f5..93bc64649a88 100644
--- a/sal/Library_sal.mk
+++ b/sal/Library_sal.mk
@@ -55,8 +55,10 @@ $(eval $(call gb_Library_add_defs,sal,\
$(eval $(call gb_Library_add_linked_libs,sal,\
$(if $(filter $(GUI),UNX), \
- dl \
- pthread \
+ $(if $(filter $(OS),ANDROID),, \
+ dl \
+ pthread \
+ ) \
) \
$(if $(filter $(OS),SOLARIS), \
nsl \