mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	Using pkg-config to find libffi
This commit is contained in:
		
							parent
							
								
									44b5bd4b63
								
							
						
					
					
						commit
						3ae96f85a5
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		
							
								
								
									
										4
									
								
								Makefile
									
										
									
									
									
								
							
							
						
						
									
										4
									
								
								Makefile
									
										
									
									
									
								
							| 
						 | 
					@ -94,8 +94,8 @@ LDLIBS += -lreadline
 | 
				
			||||||
endif
 | 
					endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ifeq ($(ENABLE_PLUGINS),1)
 | 
					ifeq ($(ENABLE_PLUGINS),1)
 | 
				
			||||||
CXXFLAGS += -DYOSYS_ENABLE_PLUGINS
 | 
					CXXFLAGS += -DYOSYS_ENABLE_PLUGINS $(shell pkg-config --silence-errors --cflags libffi)
 | 
				
			||||||
LDLIBS += -lffi -ldl
 | 
					LDLIBS += $(shell pkg-config --silence-errors --libs libffi || echo -lffi) -ldl
 | 
				
			||||||
endif
 | 
					endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ifeq ($(ENABLE_TCL),1)
 | 
					ifeq ($(ENABLE_TCL),1)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue