Fix postconf script when used as a subproject

Review Request #2653 — Created Oct. 13, 2023 and submitted

Information

pidgin/pidgin
default

Reviewers

We add the Pidgin root to the include path, but saved the meson-config.h header to the global build root. This is normally fine when building Pidgin standalone, but when Pidgin is a subproject, those are not the same place, and the header cannot be found.

Additionally, attempt to strip out all options that are not directly for Pidgin. For a full-subproject build, the option string is 157KB, which is too large to use as a C string, so we need to cut back on this a bit.

Compiled with Pidgin as a subproject and not, then checked the generated meson-config.h header seemed reasonable.

Summary ID
Fix postconf script when used as a subproject
We add the pidgin root to the include path, but saved the `meson-config.h` header to the global build root. This is normally fine when building Pidgin standalone, but when pidgin is a subproject, those are not the same place, and the header cannot be found.
8f0a9c646208717cef94a292bb7b2a6b7ae1bdb1
grim
  1. Ship It!
  2. Great work, thanks!!

  3. 
      
grim
Review request changed

Status: Closed (submitted)

Loading...