diff --git a/lutin_gtest.py b/lutin_gtest.py index 1b6f583..26130f3 100644 --- a/lutin_gtest.py +++ b/lutin_gtest.py @@ -75,11 +75,15 @@ def create(target, module_name): my_module.add_depend([ 'cxx', 'm', - 'pthread', - 'arpa', - 'rpc' + 'pthread' ]) + if "Windows" not in target.get_type(): + my_module.add_depend([ + 'arpa', + 'rpc' + ]) + my_module.add_path(os.path.join(tools.get_current_path(__file__), "googletest/googletest")) my_module.add_path(os.path.join(tools.get_current_path(__file__), "googletest/googletest/include")) return my_module