File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 7
7
8
8
requirements :
9
9
build :
10
- - {{ compiler('c') }} # [win]
10
+ - {{ compiler('c') }}
11
+ - {{ compiler('cxx') }}
11
12
12
13
host :
13
14
- python
Original file line number Diff line number Diff line change @@ -92,11 +92,13 @@ def get_extensions():
92
92
libraries = []
93
93
extra_compile_args = {}
94
94
third_party_search_directories = []
95
+ runtime_library_dirs = []
95
96
96
97
if sys .platform .startswith ('linux' ):
97
98
sources = sources + source_image_cpu
98
99
libraries .append ('turbojpeg' )
99
100
third_party_search_directories .append (os .path .join (cwd , "third_party/libjpeg-turbo" ))
101
+ runtime_library_dirs = ['lib' ]
100
102
101
103
extension = CppExtension
102
104
@@ -160,8 +162,8 @@ def get_extensions():
160
162
include_dirs = include_dirs + third_party_search_directories ,
161
163
define_macros = define_macros ,
162
164
extra_compile_args = extra_compile_args ,
163
- runtime_library_dirs = [ "lib" ]
164
- )
165
+ runtime_library_dirs = runtime_library_dirs
166
+ )
165
167
]
166
168
if compile_cpp_tests :
167
169
ext_modules .append (
You can’t perform that action at this time.
0 commit comments