mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	fixes compilation flags for OCaml plugins
The `-linkall` option is needed for a plugin to be standalone, otherwise it will miss those dependencies that are not used.
This commit is contained in:
		
							parent
							
								
									82c26509ae
								
							
						
					
					
						commit
						49678065bd
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1990,7 +1990,7 @@ class MLComponent(Component):
 | 
			
		|||
            out.write('%s.cmxa: %s %s %s %s.cma\n' % (z3mls, cmxs, stubso, z3dllso, z3mls))
 | 
			
		||||
            out.write('\t%s -o %s -I %s %s %s %s\n' % (OCAMLMKLIB, z3mls, self.sub_dir, stubso, cmxs, LIBZ3))
 | 
			
		||||
            out.write('%s.cmxs: %s.cmxa\n' % (z3mls, z3mls))
 | 
			
		||||
            out.write('\t%s -shared -o %s.cmxs -I %s %s.cmxa\n' % (OCAMLOPTF, z3mls, self.sub_dir, z3mls))
 | 
			
		||||
            out.write('\t%s -linkall -shared -o %s.cmxs -I %s %s.cmxa\n' % (OCAMLOPTF, z3mls, self.sub_dir, z3mls))
 | 
			
		||||
 | 
			
		||||
            out.write('\n')
 | 
			
		||||
            out.write('ml: %s.cma %s.cmxa %s.cmxs\n' % (z3mls, z3mls, z3mls))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue