mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	Makefile: fix hardcoded -install_name for libyosys.so
This commit is contained in:
		
							parent
							
								
									c6b8f0eed7
								
							
						
					
					
						commit
						9f0904d048
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								Makefile
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -745,7 +745,7 @@ $(PROGRAM_PREFIX)yosys$(EXE): $(OBJS)
 | 
			
		|||
 | 
			
		||||
libyosys.so: $(filter-out kernel/driver.o,$(OBJS))
 | 
			
		||||
ifeq ($(OS), Darwin)
 | 
			
		||||
	$(P) $(CXX) -o libyosys.so -shared -undefined dynamic_lookup -Wl,-install_name,$(LIBDIR)/libyosys.so $(LINKFLAGS) $^ $(LIBS) $(LIBS_VERIFIC)
 | 
			
		||||
	$(P) $(CXX) -o libyosys.so -shared -undefined dynamic_lookup -Wl,-install_name,libyosys.so $(LINKFLAGS) $^ $(LIBS) $(LIBS_VERIFIC)
 | 
			
		||||
else
 | 
			
		||||
	$(P) $(CXX) -o libyosys.so -shared -Wl,-soname,libyosys.so $(LINKFLAGS) $^ $(LIBS) $(LIBS_VERIFIC)
 | 
			
		||||
endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue