CI: Fix entry point bug in build artifact
This commit is contained in:
		
							parent
							
								
									e3187b6824
								
							
						
					
					
						commit
						ede4c512ae
					
				@ -1,4 +1,4 @@
 | 
			
		||||
FROM oldmud0/mxe-qt:5.12.1-win32-static-posix
 | 
			
		||||
FROM oldmud0/mxe-qt:5.13.0-win32-static-posix
 | 
			
		||||
#FROM fffaraz/qt:windows
 | 
			
		||||
 | 
			
		||||
ENV TARGET_SPEC i686-w64-mingw32.static.posix
 | 
			
		||||
@ -10,8 +10,5 @@ RUN /opt/mxe/usr/bin/${TARGET_SPEC}-cmake .. -DCMAKE_INSTALL_PREFIX=/opt/mxe/usr
 | 
			
		||||
RUN /opt/mxe/usr/bin/${TARGET_SPEC}-cmake --build . --config Release --target install
 | 
			
		||||
WORKDIR ../..
 | 
			
		||||
 | 
			
		||||
# Build QtApng statically
 | 
			
		||||
RUN git clone https://github.com/Skycoder42/QtApng
 | 
			
		||||
WORKDIR QtApng
 | 
			
		||||
RUN /opt/mxe/usr/${TARGET_SPEC}/qt5/bin/qmake && make qmake_all && make && make install
 | 
			
		||||
WORKDIR ..
 | 
			
		||||
# NOTE: Do not build QtApng statically! libpng contains a self-test entry point that
 | 
			
		||||
# takes precedence for some reason over the final build's entry point.
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user