summaryrefslogtreecommitdiff
path: root/vcl/Library_desktop_detector.mk
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/Library_desktop_detector.mk')
-rw-r--r--vcl/Library_desktop_detector.mk9
1 files changed, 5 insertions, 4 deletions
diff --git a/vcl/Library_desktop_detector.mk b/vcl/Library_desktop_detector.mk
index af8578988c34..a155c3e0d281 100644
--- a/vcl/Library_desktop_detector.mk
+++ b/vcl/Library_desktop_detector.mk
@@ -73,10 +73,11 @@ $(eval $(call gb_Library_add_exception_objects,desktop_detector,\
))
ifeq ($(OS),LINUX)
-$(eval $(call gb_Library_use_libraries,desktop_detector,\
- dl \
- m \
- pthread \
+$(eval $(call gb_Library_add_libs,desktop_detector,\
+ -lm \
+ -ldl \
+ -lpthread \
))
endif
+
# vim: set noet sw=4 ts=4: