6060 arrow_compute_dep = dependency (
6161 ' arrow-compute' ,
6262 ' ArrowCompute' ,
63- modules : [' ArrowCompute::arrow_compute_shared ' ],
63+ modules : [f ' ArrowCompute::arrow_compute_@cmake_suffix@ ' ],
6464 )
6565endif
6666
@@ -89,7 +89,7 @@ if needs_acero
8989 arrow_acero_dep = dependency (
9090 ' arrow-acero' ,
9191 ' ArrowAcero' ,
92- modules : [' ArrowAcero::arrow_acero_shared ' ],
92+ modules : [f ' ArrowAcero::arrow_acero_@cmake_suffix@ ' ],
9393 )
9494 endif
9595 libpyarrow_deps += [arrow_acero_dep]
@@ -107,7 +107,7 @@ if get_option('cuda').enabled()
107107 arrow_cuda_dep = dependency (
108108 ' arrow-cuda' ,
109109 ' ArrowCUDA' ,
110- modules : [' ArrowCUDA::arrow_cuda_shared ' ],
110+ modules : [f ' ArrowCUDA::arrow_cuda_@cmake_suffix@ ' ],
111111 )
112112 endif
113113 libpyarrow_deps += [arrow_cuda_dep]
@@ -121,7 +121,7 @@ if needs_dataset
121121 arrow_dataset_dep = dependency (
122122 ' arrow-dataset' ,
123123 ' ArrowDataset' ,
124- modules : [' ArrowDataset::arrow_dataset_shared ' ],
124+ modules : [f ' ArrowDataset::arrow_dataset_@cmake_suffix@ ' ],
125125 )
126126 endif
127127 libpyarrow_deps += [arrow_dataset_dep]
@@ -135,7 +135,7 @@ if needs_flight
135135 arrow_flight_dep = dependency (
136136 ' arrow-flight' ,
137137 ' ArrowFlight' ,
138- modules : [' ArrowFlight::arrow_flight_shared ' ],
138+ modules : [f ' ArrowFlight::arrow_flight_@cmake_suffix@ ' ],
139139 )
140140 endif
141141 libpyarrow_deps += [arrow_flight_dep]
@@ -148,7 +148,7 @@ if get_option('gandiva').enabled()
148148 gandiva_dep = dependency (
149149 ' gandiva' ,
150150 ' Gandiva' ,
151- modules : [' Gandiva::gandiva_shared ' ],
151+ modules : [f ' Gandiva::gandiva_@cmake_suffix@ ' ],
152152 )
153153 endif
154154 libpyarrow_deps += [gandiva_dep]
@@ -182,7 +182,7 @@ if needs_substrait
182182 arrow_substrait_dep = dependency (
183183 ' arrow-substrait' ,
184184 ' ArrowSubstrait' ,
185- modules : [' ArrowSubstrait::arrow_substrait_shared ' ],
185+ modules : [f ' ArrowSubstrait::arrow_substrait_@cmake_suffix@ ' ],
186186 )
187187 endif
188188 libpyarrow_deps += [arrow_substrait_dep]
@@ -208,7 +208,7 @@ if needs_parquet
208208 parquet_dep = dependency (
209209 ' parquet' ,
210210 ' Parquet' ,
211- modules : [' Parquet::parquet_shared ' ],
211+ modules : [f ' Parquet::parquet_@cmake_suffix@ ' ],
212212 )
213213 endif
214214 libpyarrow_deps += [parquet_dep]
0 commit comments