mirror of
				https://github.com/PurpleI2P/i2pd.git
				synced 2025-11-04 00:20:46 +00:00 
			
		
		
		
	update macos i2pd qt build to statically compile in libraries for portability
This commit is contained in:
		
							parent
							
								
									d59d36f93c
								
							
						
					
					
						commit
						330fab2efa
					
				
					 1 changed files with 18 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -189,6 +189,24 @@ FORMS += mainwindow.ui \
 | 
			
		|||
 | 
			
		||||
LIBS += -lz
 | 
			
		||||
 | 
			
		||||
macx {
 | 
			
		||||
	message("using mac os x target")
 | 
			
		||||
	BREWROOT=/usr/local
 | 
			
		||||
	BOOSTROOT=$$BREWROOT/opt/boost
 | 
			
		||||
	SSLROOT=$$BREWROOT/opt/libressl
 | 
			
		||||
	UPNPROOT=$$BREWROOT/opt/miniupnpc
 | 
			
		||||
	INCLUDEPATH += $$BOOSTROOT/include
 | 
			
		||||
	INCLUDEPATH += $$SSLROOT/include
 | 
			
		||||
	INCLUDEPATH += $$UPNPROOT/include
 | 
			
		||||
	LIBS += $$SSLROOT/lib/libcrypto.a
 | 
			
		||||
	LIBS += $$SSLROOT/lib/libssl.a
 | 
			
		||||
	LIBS += $$BOOSTROOT/lib/libboost_system.a
 | 
			
		||||
	LIBS += $$BOOSTROOT/lib/libboost_date_time.a
 | 
			
		||||
	LIBS += $$BOOSTROOT/lib/libboost_filesystem.a
 | 
			
		||||
	LIBS += $$BOOSTROOT/lib/libboost_program_options.a
 | 
			
		||||
	LIBS += $$UPNPROOT/lib/libminiupnpc.a
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
android {
 | 
			
		||||
	message("Using Android settings")
 | 
			
		||||
        DEFINES += ANDROID=1
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue