mesonbuild / freetype2

Meson build definitions for freetype2
https://github.com/centricular/freetype2
MIT License
1 stars 2 forks source link

Stop installing compiled libraries or headers #3

Open AlynxZhou opened 3 years ago

AlynxZhou commented 3 years ago

https://github.com/mesonbuild/freetype2/blob/c354023bdcf9b2ebe3aba4b47d90cc6fccfe78c6/meson.build#L223 https://github.com/mesonbuild/freetype2/blob/2.9.1/meson.build#L232-L240

Currently if I build program with freetype2's wrap as subproject and run meson install, files built by this wrap is also installed to prefix, e.g. dlls, headers and .pc file. However, when this wrap is used to build dependency means that "I don't have system-wide installed dependency for freetype2, I want to build dependency locally", so I think it should not install files to prefix and let user to pick dll files manually. Also installing those files is useless if I want to link program statically.

Plus, SDL2 and SDL2_ttf does not have install lines in their meson patch.

eli-schwartz commented 3 years ago

Since https://mesonbuild.com/Release-notes-for-0-58-0.html#skip-subprojects-installation you can just run meson install --skip-subprojects