Fix the test for Linux or NetBSD to not add -liconv
fix 244e856e9ff23bbb855e4e6b2d22d7cb9856a632 which broke on FreeBSD
This commit is contained in:
		
							parent
							
								
									ebad2b5946
								
							
						
					
					
						commit
						995f9182fe
					
				@ -540,7 +540,7 @@ endif
 | 
				
			|||||||
        # enable UTF8 filename translation
 | 
					        # enable UTF8 filename translation
 | 
				
			||||||
        # For Linux (GLibc), iconv is built into the C library so no LOPT needed.
 | 
					        # For Linux (GLibc), iconv is built into the C library so no LOPT needed.
 | 
				
			||||||
        COPT += -DENABLE_FILENAMES_ICONV
 | 
					        COPT += -DENABLE_FILENAMES_ICONV
 | 
				
			||||||
        ifeq ($(filter-out NetBSD Linux, $(PLATFORM))),)
 | 
					        ifneq ($(filter-out NetBSD Linux,$(PLATFORM)),)
 | 
				
			||||||
          LOPT += -liconv
 | 
					          LOPT += -liconv
 | 
				
			||||||
        endif
 | 
					        endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user