Skip to content

Commit 971e82b

Browse files
committed
trying stuff
1 parent 8f9edd2 commit 971e82b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jingle_python/gh_actions_setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def find_z3_ld_path():
7676
def write_env_file(header_path, ldpath):
7777
with open(ENV_FILE, "w") as f:
7878
f.write(f"export Z3_SYS_Z3_HEADER={header_path}\n")
79-
f.write(f"export LD_LIBRARY_PATH={ldpath}\n")
79+
f.write(f"export LD_LIBRARY_PATH={ldpath}:$LD_LIBRARY_PATH\n")
8080
print(f"\n✅ Z3 installed successfully.")
8181
print(f"💾 Environment variable written to `{ENV_FILE}`.")
8282
print(f"👉 To load it into your shell, run:\n")
@@ -107,7 +107,7 @@ def main():
107107
# Find the Z3 header path and set the environment variable
108108
z3_header_path = find_z3_header_path()
109109
ld_path = find_z3_ld_path()
110-
write_env_file(z3_header_path,ld_path)
110+
write_env_file(z3_header_path, ld_path)
111111

112112
if __name__ == "__main__":
113113
main()

0 commit comments

Comments
 (0)