Skip to content

Commit ca98ddc

Browse files
committed
Try without CFLAGS and LDFLAGS
1 parent c63bce1 commit ca98ddc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/scripts/ci_build_cairo.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -169,10 +169,10 @@ def main():
169169
env_vars["PKG_CONFIG_PATH"] = merged_pc
170170

171171
# 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()
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()
176176

177177
# Debugging: log environment keys relevant to detection
178178
# logger.info(f"env vars for meson: {env_vars}")

0 commit comments

Comments
 (0)