@@ -91,7 +91,11 @@ cython_modules = {
9191 ' _pyarrow_cpp_tests' : {},
9292}
9393
94- arrow_compute_dep = dependency (' arrow-compute' )
94+ arrow_compute_dep = dependency (
95+ ' arrow-compute' ,
96+ ' ArrowCompute' ,
97+ modules : [' ArrowCompute::arrow_compute_shared' ],
98+ )
9599arrow_csv_dep = dependency (' arrow-csv' )
96100arrow_fs_dep = dependency (' arrow-filesystem' )
97101arrow_json_dep = dependency (' arrow-json' )
@@ -110,7 +114,11 @@ needs_acero = get_option('acero').enabled() or needs_dataset
110114needs_flight = get_option (' flight' ).enabled()
111115
112116if needs_acero
113- arrow_acero_dep = dependency (' arrow-acero' )
117+ arrow_acero_dep = dependency (
118+ ' arrow-acero' ,
119+ ' ArrowAcero' ,
120+ modules : [' ArrowAcero::arrow_acero_shared' ],
121+ )
114122 libpyarrow_deps += [arrow_acero_dep]
115123 cython_modules += {' _acero' : {' dependencies' : arrow_acero_dep}}
116124endif
@@ -120,13 +128,21 @@ if get_option('azure').enabled()
120128endif
121129
122130if get_option (' cuda' ).enabled()
123- arrow_cuda_dep = dependency (' arrow-cuda' )
131+ arrow_cuda_dep = dependency (
132+ ' arrow-cuda' ,
133+ ' ArrowCUDA' ,
134+ modules : [' ArrowCUDA::arrow_cuda_shared' ],
135+ )
124136 libpyarrow_deps += [arrow_cuda_dep]
125137 cython_modules += {' _cuda' : {' dependencies' : arrow_cuda_dep}}
126138endif
127139
128140if needs_dataset
129- arrow_dataset_dep = dependency (' arrow-dataset' )
141+ arrow_dataset_dep = dependency (
142+ ' arrow-dataset' ,
143+ ' ArrowDataset' ,
144+ modules : [' ArrowDataset::arrow_dataset_shared' ],
145+ )
130146 libpyarrow_deps += [arrow_dataset_dep]
131147 cython_modules += {' _dataset' : {' dependencies' : arrow_dataset_dep}}
132148endif
@@ -137,7 +153,11 @@ if needs_flight
137153endif
138154
139155if get_option (' gandiva' ).enabled()
140- gandiva_dep = dependency (' gandiva' )
156+ gandiva_dep = dependency (
157+ ' gandiva' ,
158+ ' Gandiva' ,
159+ modules : [' Gandiva::gandiva_shared' ],
160+ )
141161 libpyarrow_deps += [gandiva_dep]
142162 cython_modules += {' gandiva' : {' dependencies' : gandiva_dep}}
143163endif
@@ -163,7 +183,11 @@ if get_option('s3').enabled()
163183endif
164184
165185if needs_substrait
166- arrow_substrait_dep = dependency (' arrow-substrait' )
186+ arrow_substrait_dep = dependency (
187+ ' arrow-substrait' ,
188+ ' ArrowSubstrait' ,
189+ modules : [' ArrowSubstrait::arrow_substrait_shared' ],
190+ )
167191 libpyarrow_deps += [arrow_substrait_dep]
168192 cython_modules += {' _substrait' : {' dependencies' : arrow_substrait_dep}}
169193endif
@@ -181,7 +205,11 @@ if needs_parquet_encryption and not needs_parquet
181205endif
182206
183207if needs_parquet
184- parquet_dep = dependency (' parquet' )
208+ parquet_dep = dependency (
209+ ' parquet' ,
210+ ' Parquet' ,
211+ modules : [' Parquet::parquet_shared' ],
212+ )
185213 libpyarrow_deps += [parquet_dep]
186214 cython_modules += {' _parquet' : {' dependencies' : parquet_dep}}
187215
0 commit comments