File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ def find_z3_ld_path():
7676def 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
112112if __name__ == "__main__" :
113113 main ()
You can’t perform that action at this time.
0 commit comments