Don't try to link libdl on FreeBSD.
There is no libdl on FreeBSD. Instead the symbols are included in libc.
This commit is contained in:
		
							parent
							
								
									c999ef70e8
								
							
						
					
					
						commit
						12c1776df9
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		| 
						 | 
					@ -10,7 +10,10 @@ libexpr_CXXFLAGS := -Wno-deprecated-register
 | 
				
			||||||
 | 
					
 | 
				
			||||||
libexpr_LIBS = libutil libstore libformat
 | 
					libexpr_LIBS = libutil libstore libformat
 | 
				
			||||||
 | 
					
 | 
				
			||||||
libexpr_LDFLAGS = -ldl
 | 
					libexpr_LDFLAGS =
 | 
				
			||||||
 | 
					ifneq ($(OS), FreeBSD)
 | 
				
			||||||
 | 
					 libexpr_LDFLAGS += -ldl
 | 
				
			||||||
 | 
					endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# The dependency on libgc must be propagated (i.e. meaning that
 | 
					# The dependency on libgc must be propagated (i.e. meaning that
 | 
				
			||||||
# programs/libraries that use libexpr must explicitly pass -lgc),
 | 
					# programs/libraries that use libexpr must explicitly pass -lgc),
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue