mirror of
				https://git.wownero.com/wowlet/wowlet.git
				synced 2024-08-15 01:03:14 +00:00 
			
		
		
		
	Fixes linking against libz
This commit is contained in:
		
							parent
							
								
									c7ea0357ce
								
							
						
					
					
						commit
						45f0e78761
					
				
					 2 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
					@ -89,7 +89,7 @@ RUN git clone -b libgcrypt-1.8.5 --depth 1 git://git.gnupg.org/libgcrypt.git &&
 | 
				
			||||||
RUN git clone -b v1.2.11 --depth 1 https://github.com/madler/zlib && \
 | 
					RUN git clone -b v1.2.11 --depth 1 https://github.com/madler/zlib && \
 | 
				
			||||||
    cd zlib && \
 | 
					    cd zlib && \
 | 
				
			||||||
    git reset --hard cacf7f1d4e3d44d871b605da3b647f07d718623f && \
 | 
					    git reset --hard cacf7f1d4e3d44d871b605da3b647f07d718623f && \
 | 
				
			||||||
    CC=x86_64-w64-mingw32-gcc AR=x86_64-w64-mingw32-ar ./configure --static --prefix=/depends/x86_64-w64-mingw32 && \
 | 
					    CC=x86_64-w64-mingw32-gcc AR=x86_64-w64-mingw32-ar ./configure --static --prefix=/usr/x86_64-w64-mingw32 && \
 | 
				
			||||||
    make -j$THREADS && \
 | 
					    make -j$THREADS && \
 | 
				
			||||||
    make -j$THREADS install && \
 | 
					    make -j$THREADS install && \
 | 
				
			||||||
    rm -rf $(pwd)
 | 
					    rm -rf $(pwd)
 | 
				
			||||||
| 
						 | 
					@ -164,7 +164,7 @@ RUN git clone -b tor-0.4.5.7 --depth 1 https://git.torproject.org/tor.git && \
 | 
				
			||||||
    --enable-static-tor \
 | 
					    --enable-static-tor \
 | 
				
			||||||
    --with-libevent-dir=/usr/local/libevent \
 | 
					    --with-libevent-dir=/usr/local/libevent \
 | 
				
			||||||
    --with-openssl-dir=/usr/local/openssl \
 | 
					    --with-openssl-dir=/usr/local/openssl \
 | 
				
			||||||
    --with-zlib-dir=/depends/x86_64-w64-mingw32 \
 | 
					    --with-zlib-dir=/usr/x86_64-w64-mingw32 \
 | 
				
			||||||
    --disable-tool-name-check \
 | 
					    --disable-tool-name-check \
 | 
				
			||||||
    --enable-fatal-warnings \
 | 
					    --enable-fatal-warnings \
 | 
				
			||||||
    --prefix=/usr/local/tor \
 | 
					    --prefix=/usr/local/tor \
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										2
									
								
								Makefile
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
										
									
									
									
								
							| 
						 | 
					@ -56,7 +56,7 @@ depends:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
windows:
 | 
					windows:
 | 
				
			||||||
	mkdir -p build/$(target)/release
 | 
						mkdir -p build/$(target)/release
 | 
				
			||||||
	cd build/$(target)/release && cmake -D STATIC=ON -DREPRODUCIBLE=$(or ${SOURCE_DATE_EPOCH},OFF) -DTOR_VERSION=$(or ${TOR_VERSION}, OFF) -DOPENVR=ON -DQML=ON -DWITH_SCANNER=ON -DTOR_BIN=$(or ${TOR_BIN},OFF) -D DEV_MODE=$(or ${DEV_MODE},OFF) -D BUILD_TAG=$(tag) -D CMAKE_BUILD_TYPE=Debug -D CMAKE_TOOLCHAIN_FILE=$(root)/$(target)/share/toolchain.cmake ../../.. && $(MAKE)
 | 
						cd build/$(target)/release && cmake -D STATIC=ON -DZLIB_ROOT=/usr/x86_64-w64-mingw32/ -DREPRODUCIBLE=$(or ${SOURCE_DATE_EPOCH},OFF) -DTOR_VERSION=$(or ${TOR_VERSION}, OFF) -DOPENVR=ON -DQML=ON -DWITH_SCANNER=ON -DTOR_BIN=$(or ${TOR_BIN},OFF) -D DEV_MODE=$(or ${DEV_MODE},OFF) -D BUILD_TAG=$(tag) -D CMAKE_BUILD_TYPE=Debug -D CMAKE_TOOLCHAIN_FILE=$(root)/$(target)/share/toolchain.cmake ../../.. && $(MAKE)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
windows-mxe-release: CMAKEFLAGS += -DBUILD_TAG="win-x64"
 | 
					windows-mxe-release: CMAKEFLAGS += -DBUILD_TAG="win-x64"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue