Skip to content

Commit 991d075

Browse files
committed
Clean paths in qt image
1 parent 9da4112 commit 991d075

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

qt/Dockerfile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,22 +29,20 @@ RUN export DEBIAN_FRONTEND=noninteractive \
2929
&& ../qt5/configure \
3030
-confirm-license \
3131
-opensource \
32-
# Place armhf libraries in the cross-compiling toolchain folder
33-
-prefix "$SYSROOT/usr" \
32+
-prefix /usr \
3433
-xplatform linux-arm-gnueabihf-g++ \
35-
# Place x86 binaries (e.g. qmake) and libraries in the normal folder
3634
-hostprefix /usr \
3735
-platform linux-g++ \
38-
# Disable unused features
3936
-nomake examples \
4037
-nomake tests \
4138
-no-opengl \
4239
-reduce-exports \
4340
&& make \
44-
&& make install \
41+
&& make INSTALL_ROOT="$SYSROOT" install \
4542
&& cd .. \
4643
# Clean up
4744
&& rm -rf qt5 qt5-build \
45+
&& find "$SYSROOT" -type l,f -name "*.la" | xargs --no-run-if-empty rm \
4846
&& apt-get autoremove -y \
4947
git \
5048
python \

0 commit comments

Comments
 (0)