mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 11:42:30 +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 | ||||
| 
 | ||||
| ifeq ($(ENABLE_PLUGINS),1) | ||||
| CXXFLAGS += -DYOSYS_ENABLE_PLUGINS | ||||
| LDLIBS += -lffi -ldl | ||||
| CXXFLAGS += -DYOSYS_ENABLE_PLUGINS $(shell pkg-config --silence-errors --cflags libffi) | ||||
| LDLIBS += $(shell pkg-config --silence-errors --libs libffi || echo -lffi) -ldl | ||||
| endif | ||||
| 
 | ||||
| ifeq ($(ENABLE_TCL),1) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue