summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2018-04-08 19:21:24 +0300
committerTor Lillqvist <tml@collabora.com>2018-04-08 19:24:54 +0300
commit843ec0cfd2a96614faef640ad812af541d5cb335 (patch)
treed838a58a58b0fe76e1264fe841f630e0e4102457 /sal
parentcd558bfba9005d6214c4a1a2e2564080022128b1 (diff)
While at it, combine the check for ANDROID with the ones for WNT and HAIKU
Also, order them alphabetically. Change-Id: I144331d71455c1c794d300f9a4f4e2e21fcd5e1b
Diffstat (limited to 'sal')
-rw-r--r--sal/Library_sal.mk6
1 files changed, 2 insertions, 4 deletions
diff --git a/sal/Library_sal.mk b/sal/Library_sal.mk
index d6b6db9dedf9..41db5e910c65 100644
--- a/sal/Library_sal.mk
+++ b/sal/Library_sal.mk
@@ -57,10 +57,8 @@ $(eval $(call gb_Library_use_system_win32_libs,sal,\
))
$(eval $(call gb_Library_add_libs,sal,\
- $(if $(filter-out WNT HAIKU,$(OS)), \
- $(if $(filter $(OS),ANDROID),, \
- -lpthread \
- ) \
+ $(if $(filter-out ANDROID HAIKU WNT,$(OS)), \
+ -lpthread \
) \
$(if $(filter $(OS),LINUX), \
-ldl \