Skip to content

Commit 4280241

Browse files
committed
All exclude static library subprojects from installing
1 parent 4c60ef3 commit 4280241

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ requires = [
1818
# otherwise we hit https://github.com/mesonbuild/meson-python/issues/598
1919
# The subprojects have to set the rpath to the build directory, which should work as long as
2020
# we don't use build isolation.
21-
install = ['--skip-subprojects', 'ecl']
21+
# Also don't install subprojects providing static libraries as per https://mesonbuild.com/meson-python/how-to-guides/shared-libraries.html#static-library-from-subproject
22+
# This actually covers all current subprojects; so just don't install any of them.
23+
install = ['--skip-subprojects']
2224
# Ensure that ``library`` targets are built as static, and nothing gets installed
2325
setup = ['--default-library=static']
2426

0 commit comments

Comments
 (0)