Kaydet (Commit) dd13ad84 authored tarafından Michael Stahl's avatar Michael Stahl

onlineupdate: linking libpthread should work better than including it

Change-Id: Ib19a5651f7e30108e8fbcdc6f7924c47cbeb4434
üst 08467b60
...@@ -9,24 +9,13 @@ ...@@ -9,24 +9,13 @@
$(eval $(call gb_Executable_Executable,updater)) $(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,\ $(eval $(call gb_Executable_set_include,updater,\
-I$(SRCDIR)/onlineupdate/source/update/src \ -I$(SRCDIR)/onlineupdate/source/update/src \
-I$(SRCDIR)/onlineupdate/source/update/inc \ -I$(SRCDIR)/onlineupdate/source/update/inc \
-I$(SRCDIR)/onlineupdate/source/update/common \ -I$(SRCDIR)/onlineupdate/source/update/common \
-I$(SRCDIR)/onlineupdate/source/update/updater/xpcom/glue \ -I$(SRCDIR)/onlineupdate/source/update/updater/xpcom/glue \
-lpthread \
$$(INCLUDE) \ $$(INCLUDE) \
)) ))
endif
ifeq ($(OS),WNT) ifeq ($(OS),WNT)
$(eval $(call gb_Executable_add_libs,updater,\ $(eval $(call gb_Executable_add_libs,updater,\
...@@ -43,6 +32,7 @@ $(eval $(call gb_Executable_add_libs,updater,\ ...@@ -43,6 +32,7 @@ $(eval $(call gb_Executable_add_libs,updater,\
-lXrender \ -lXrender \
-lSM \ -lSM \
-lICE \ -lICE \
-lpthread \
)) ))
endif endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment