summaryrefslogtreecommitdiff
path: root/onlineupdate
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-01-06 21:49:05 +0100
committerMichael Stahl <mstahl@redhat.com>2016-01-06 22:21:40 +0100
commitdd13ad84693e8d22672f4b5d588c0611ab1a0a50 (patch)
treee9cee5c782287d96ad32c77ddfc48f875121c17e /onlineupdate
parent08467b602e23c1b8059611717f3d82da8936e632 (diff)
onlineupdate: linking libpthread should work better than including it
Change-Id: Ib19a5651f7e30108e8fbcdc6f7924c47cbeb4434
Diffstat (limited to 'onlineupdate')
-rw-r--r--onlineupdate/Executable_updater.mk12
1 files changed, 1 insertions, 11 deletions
diff --git a/onlineupdate/Executable_updater.mk b/onlineupdate/Executable_updater.mk
index 5c56edad0ba5..fba7e3c7bcd7 100644
--- a/onlineupdate/Executable_updater.mk
+++ b/onlineupdate/Executable_updater.mk
@@ -9,24 +9,13 @@
$(eval $(call gb_Executable_Executable,updater))
-ifeq ($(OS),WNT)
-$(eval $(call gb_Executable_set_include,updater,\
- -I$(SRCDIR)/onlineupdate/source/update/src \
- -I$(SRCDIR)/onlineupdate/source/update/inc \
- -I$(SRCDIR)/onlineupdate/source/update/common \
- -I$(SRCDIR)/onlineupdate/source/update/updater/xpcom/glue \
- $$(INCLUDE) \
-))
-else
$(eval $(call gb_Executable_set_include,updater,\
-I$(SRCDIR)/onlineupdate/source/update/src \
-I$(SRCDIR)/onlineupdate/source/update/inc \
-I$(SRCDIR)/onlineupdate/source/update/common \
-I$(SRCDIR)/onlineupdate/source/update/updater/xpcom/glue \
- -lpthread \
$$(INCLUDE) \
))
-endif
ifeq ($(OS),WNT)
$(eval $(call gb_Executable_add_libs,updater,\
@@ -43,6 +32,7 @@ $(eval $(call gb_Executable_add_libs,updater,\
-lXrender \
-lSM \
-lICE \
+ -lpthread \
))
endif