diff --git a/meson.build b/meson.build index c940d63..9793d4a 100644 --- a/meson.build +++ b/meson.build @@ -31,6 +31,8 @@ endif # Static library +pkg = import('pkgconfig') + myclib_lib = static_library( 'myclib', lib_src, @@ -38,6 +40,12 @@ myclib_lib = static_library( install: true, ) +pkg.generate( + myclib_lib, + name: 'myclib', + description: 'My personal C std library.', +) + # Install headers install_headers( @@ -77,4 +85,4 @@ foreach tc : test_cases ) test(test_name, test_exe) -endforeach \ No newline at end of file +endforeach