From 2d9c9d940efbc19e3be8d37da54155109d9b1aa5 Mon Sep 17 00:00:00 2001 From: Ken Payson Date: Thu, 13 Apr 2017 17:07:32 -0700 Subject: [PATCH] linux fix --- setup.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index df97731ca02..047f0f1f5c3 100644 --- a/setup.py +++ b/setup.py @@ -199,13 +199,14 @@ def cython_extensions_and_necessity(): 'libs/opt/libboringssl.a', 'libs/opt/libgpr.a', 'libs/opt/libgrpc.a'] - CORE_C_FILES = [] + core_c_files = [] else: + core_c_files = list(CORE_C_FILES) extra_objects = [] extensions = [ _extension.Extension( name=module_name, - sources=[module_file] + list(CYTHON_HELPER_C_FILES) + list(CORE_C_FILES), + sources=[module_file] + list(CYTHON_HELPER_C_FILES) + core_c_files, include_dirs=list(EXTENSION_INCLUDE_DIRECTORIES), libraries=list(EXTENSION_LIBRARIES), define_macros=list(DEFINE_MACROS),