diff options
| author | Xavier Del Campo Romero <xavi92@disroot.org> | 2026-02-13 09:37:27 +0100 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi92@disroot.org> | 2026-02-13 09:37:27 +0100 |
| commit | 1e93a53bc43e5111346d9cca64d2dd3b25c0e4ca (patch) | |
| tree | 63cc98779513e2b4d7a1d9eda4b74f0aa0997483 | |
| parent | 175017e113c82fce087b7d99c4f23c2fccdd62ce (diff) | |
configure: Re-configure subprojects if requiredHEADmasterlibweb-configure
When a configuration is changed from the top-level directory, it should
be reflected on the subprojects as well.
Note: still, "make clean" is required so that the objects are built with
the new configuration flags.
| -rwxr-xr-x | configure | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -93,6 +93,23 @@ else in_tree_libweb=1 proj_CFLAGS="$proj_CFLAGS -Ilibweb/include" proj_LDFLAGS="$proj_LDFLAGS -Llibweb -lweb" + + if [ -f libweb/Makefile ] + then + echo "Info: Re-configuring libweb" >&2 + (cd libweb && CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" ./configure \ + --prefix="$prefix") + fi +fi + +if [ $build_thumbnail -ne 0 ] +then + if [ -f thumbnail/Makefile ] + then + echo "Info: Re-configuring thumbnail" >&2 + (cd thumbnail && CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" ./configure \ + --prefix="$prefix") + fi fi if pkg-config fdzipstream |
