Skip to content

Preserve LDFLAGS that are passed to ./configure

This is needed to build when some dependencies are installed into locations outside of /usr.

I discovered this issue when trying to build Purr Data using JACK for Flatpak. Because the JACK libraries are installed into the /app prefix, Purr Data won't find them. With this patch, I can do LDFLAGS="-L/app/lib ./configure to ensure that PD finds the JACK client library.

Merge request reports