@@ -226,9 +226,7 @@ arrow_python_lib = shared_library(
226226 cython_generated_dep,
227227 py.dependency (),
228228 ],
229- cpp_args : cc.get_supported_arguments(
230- [' -DARROW_PYTHON_EXPORTING' , ' /DARROW_PYTHON_EXPORTING' ],
231- ),
229+ cpp_args : [' -DARROW_PYTHON_EXPORTING' ],
232230 install : true ,
233231 install_dir : py.get_install_dir() / ' pyarrow' ,
234232 gnu_symbol_visibility : ' inlineshidden' ,
@@ -242,9 +240,7 @@ if needs_flight
242240 sources : [' src/arrow/python/flight.cc' ],
243241 dependencies : [arrow_flight_dep, pyarrow_lib_dep, py.dependency ()],
244242 include_directories : [' src' ],
245- cpp_args : cc.get_supported_arguments(
246- [' -DARROW_PYFLIGHT_EXPORTING' , ' /DARROW_PYFLIGHT_EXPORTING' ],
247- ),
243+ cpp_args : [' -DARROW_PYFLIGHT_EXPORTING' ],
248244 install : true ,
249245 install_dir : py.get_install_dir() / ' pyarrow' ,
250246 gnu_symbol_visibility : ' inlineshidden' ,
@@ -263,14 +259,8 @@ if needs_parquet_encryption
263259 ' arrow_python_parquet_encryption' ,
264260 sources : [' src/arrow/python/parquet_encryption.cc' ],
265261 include_directories : [' src' ],
266- link_with : [arrow_python_lib],
267- dependencies : [parquet_dep, py.dependency ()],
268- cpp_args : cc.get_supported_arguments(
269- [
270- ' -DARROW_PYTHON_PARQUET_ENCRYPTION_EXPORTING' ,
271- ' /DARROW_PYTHON_PARQUET_ENCRYPTION_EXPORTING' ,
272- ],
273- ),
262+ dependencies : [parquet_dep, pyarrow_lib_dep, py.dependency ()],
263+ cpp_args : [' -DARROW_PYTHON_PARQUET_ENCRYPTION_EXPORTING' ],
274264 install : true ,
275265 install_dir : py.get_install_dir() / ' pyarrow' ,
276266 gnu_symbol_visibility : ' inlineshidden' ,
0 commit comments