[DEBUG] windows dependency on pthread
This commit is contained in:
parent
c9b4aa7d54
commit
30827d8739
@ -40,9 +40,14 @@ def create(target, module_name):
|
|||||||
my_module.compile_version("c++", 2011)
|
my_module.compile_version("c++", 2011)
|
||||||
# add dependency of the generic C++ library:
|
# add dependency of the generic C++ library:
|
||||||
my_module.add_depend([
|
my_module.add_depend([
|
||||||
'cxx',
|
'cxx'
|
||||||
'pthread'
|
|
||||||
])
|
])
|
||||||
|
#pthread is not availlable on Windows
|
||||||
|
if "Linux" in target.get_type() \
|
||||||
|
or "Android" in target.get_type():
|
||||||
|
my_module.add_depend([
|
||||||
|
'pthread'
|
||||||
|
])
|
||||||
|
|
||||||
my_module.add_path(tools.get_current_path(__file__))
|
my_module.add_path(tools.get_current_path(__file__))
|
||||||
return my_module
|
return my_module
|
||||||
|
Loading…
x
Reference in New Issue
Block a user