Closed yihuajack closed 1 year ago
Currently, libcsv cannot directly found by Meson's dependency() method. This method can find libraries by various ways including pkgconfig files .pc, but libcsv does not provide .pc files. Users may have to manually declare on their own like
dependency()
libcsv_inc = include_directories('/usr/include') libcsv_lib = static_library('/usr/lib/x86_64-linux-gnu/libcsv.a') libcsv_dep = declare_dependency(link_with : libcsv_lib, include_directories : libcsv_inc)
which is inconvenient. Hope this useful library can add Meson support.
Currently, libcsv cannot directly found by Meson's
dependency()
method. This method can find libraries by various ways including pkgconfig files .pc, but libcsv does not provide .pc files. Users may have to manually declare on their own likewhich is inconvenient. Hope this useful library can add Meson support.