File tree Expand file tree Collapse file tree 2 files changed +18
-33
lines changed Expand file tree Collapse file tree 2 files changed +18
-33
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -54,9 +54,24 @@ if get_option('api')
54
54
endif
55
55
56
56
module_id = meson .project_name()
57
- meson .add_install_script(
58
- find_program (files (' config' / ' install-mod.py' )),
59
- get_option (' includedir' ) / module_id,
57
+ if host_machine .system() == ' windows'
58
+ symbols_file = ' lib' + module_id+ ' .dll.symbols'
59
+ obj_suffix = ' .obj'
60
+ else
61
+ symbols_file = ' lib' + module_id+ ' .so.symbols'
62
+ obj_suffix = ' .o'
63
+ endif
64
+ install_subdir (minpack_lib.full_path()+ ' .p' ,
65
+ install_dir : ' include' / module_id,
66
+ strip_directory : true ,
67
+ exclude_files : [
68
+ ' depscan.dd' ,
69
+ module_id+ ' -deps.json' ,
70
+ symbols_file,
71
+ module_id+ ' .dat' ,
72
+ ' src_minpack.f90' + obj_suffix,
73
+ ' src_minpack_capi.f90' + obj_suffix,
74
+ ],
60
75
)
61
76
62
77
pkg = import (' pkgconfig' )
You can’t perform that action at this time.
0 commit comments