@@ -6,7 +6,7 @@ if meson.get_compiler('cpp', native: true).sizeof('void*') > 4
66endif
77
88include = include_directories (' include' )
9- inc_boost = include_directories ( ' .. ' / ' .. ' / ' _lib ' / ' boost' )
9+ boost_dep = dependency ( ' boost' )
1010
1111# hypergeom_ufunc
1212_hypergeom_cy = custom_target (' _hypergeom_cy' ,
@@ -16,9 +16,9 @@ _hypergeom_cy = custom_target('_hypergeom_cy',
1616)
1717hypergeom_ufunc = py3.extension_module(' hypergeom_ufunc' ,
1818 _hypergeom_cy,
19- include_directories : [include, inc_np, inc_boost ],
19+ include_directories : [include, inc_np],
2020 cpp_args : cpp_args,
21- dependencies : [py3_dep]
21+ dependencies : [py3_dep, boost_dep ]
2222)
2323
2424# nbinom_ufunc
@@ -29,9 +29,9 @@ _nbinom_cy = custom_target('_nbinom_cy',
2929)
3030nbinom_ufunc = py3.extension_module(' nbinom_ufunc' ,
3131 _nbinom_cy,
32- include_directories : [include, inc_np, inc_boost ],
32+ include_directories : [include, inc_np],
3333 cpp_args : cpp_args,
34- dependencies : [py3_dep]
34+ dependencies : [py3_dep, boost_dep ]
3535)
3636
3737# beta_ufunc
@@ -42,9 +42,9 @@ _beta_cy = custom_target('_beta_cy',
4242)
4343beta_ufunc = py3.extension_module(' beta_ufunc' ,
4444 _beta_cy,
45- include_directories : [include, inc_np, inc_boost ],
45+ include_directories : [include, inc_np],
4646 cpp_args : cpp_args,
47- dependencies : [py3_dep]
47+ dependencies : [py3_dep, boost_dep ]
4848)
4949
5050# binom_ufunc
@@ -55,9 +55,9 @@ _binom_cy = custom_target('_binom_cy',
5555)
5656binom_ufunc = py3.extension_module(' binom_ufunc' ,
5757 _binom_cy,
58- include_directories : [include, inc_np, inc_boost ],
58+ include_directories : [include, inc_np],
5959 cpp_args : cpp_args,
60- dependencies : [py3_dep]
60+ dependencies : [py3_dep, boost_dep ]
6161)
6262
6363py3.install_sources([' __init__.py' ],
0 commit comments