We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7379df commit e470f93Copy full SHA for e470f93
.github/scripts/ci_build_cairo.py
@@ -167,13 +167,13 @@ def main():
167
existing_pc = env_vars.get("PKG_CONFIG_PATH", "")
168
merged_pc = ":".join([p for p in pkgconfig_paths if p]) + (f":{existing_pc}" if existing_pc else "")
169
env_vars["PKG_CONFIG_PATH"] = merged_pc
170
-
+
171
# Ensure compiler & linker flags include brew include/lib
172
existing_cflags = env_vars.get("CFLAGS", "")
173
existing_ldflags = env_vars.get("LDFLAGS", "")
174
env_vars["CFLAGS"] = f"-I{brew_prefix}/include {existing_cflags}".strip()
175
env_vars["LDFLAGS"] = f"-L{brew_prefix}/lib {existing_ldflags}".strip()
176
177
# Debugging: log environment keys relevant to detection
178
logger.info(f"env vars for meson: {env_vars}")
179
0 commit comments