mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	Fix unix build: set openssl path directly rather than via pkg-config (#789)
This commit is contained in:
		
							parent
							
								
									bd61c233a5
								
							
						
					
					
						commit
						0781dd8271
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -82,11 +82,11 @@ $(OPENSSL).tar.gz:
 | 
			
		|||
 | 
			
		||||
libcurl: libopenssl $(CURL).tar.gz
 | 
			
		||||
	tar -zxvf $(CURL).tar.gz
 | 
			
		||||
# XXX: disable shared?
 | 
			
		||||
# Setting PKG_CONFIG_PATH should make libcurl find our previously built openssl
 | 
			
		||||
	cd $(CURL) && PKG_CONFIG_PATH=$(DESTDIR)/usr/local/lib/pkgconfig ./configure \
 | 
			
		||||
#	Note: It seems setting custom openssl path doesn't work when pkg-config and system openssl devel libs are installed
 | 
			
		||||
	cd $(CURL) && ./configure \
 | 
			
		||||
		--enable-static \
 | 
			
		||||
		--enable-shared \
 | 
			
		||||
		--with-ssl=$(DESTDIR)/usr/local \
 | 
			
		||||
		--with-pic \
 | 
			
		||||
		--enable-ipv6 \
 | 
			
		||||
		--enable-versioned-symbols \
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue