Skip to content

Commit

Permalink
--enable-static \
Browse files Browse the repository at this point in the history
  • Loading branch information
sam#gemmi-win10 committed Oct 14, 2023
1 parent a6e94a6 commit 78e1d11
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions deb12/src/Dockerfile.compile2
Original file line number Diff line number Diff line change
Expand Up @@ -167,13 +167,15 @@ WORKDIR /build/tigervnc-1.12.0/unix/xserver
# https://github.com/TigerVNC/tigervnc/issues/740
# deb12: --enable-dri3 >> --disable-dri3
# https://github.com/TigerVNC/tigervnc/blob/master/contrib/packages/rpm/el7/SPECS/tigervnc.spec#L164
# --disable-static \ #https://github.com/TigerVNC/tigervnc/issues/1534
RUN test "yes" != "$COMPILE_TIGER" && exit 0 || echo doMake; \
autoreconf -fiv; \
CPPFLAGS="-I/usr/include/drm" \
./configure $XORG_CONFIG \
--with-cc-opt="-static" \
--with-ld-opt="-static" \
--with-cpu-opt="generic" \
# build-nginx
# --with-cc-opt="-static" \
# --with-ld-opt="-static" \
# --with-cpu-opt="generic" \
\
--prefix=/usr/local/tigervnc \
--disable-xwayland --disable-dmx \
Expand All @@ -183,8 +185,11 @@ RUN test "yes" != "$COMPILE_TIGER" && exit 0 || echo doMake; \
--disable-unit-tests --disable-selective-werror \
--disable-dri --disable-dri3 --enable-dri2 \
--enable-glx \
--enable-static \
--with-pic \
--without-dtrace; \
--without-dtrace ; \
# baidu:
# CFLAGS="-static" LDFLAGS="-static"
make; \
find /build/tigervnc-1.12.0/ |egrep Xvnc; \
find /build/tigervnc-1.12.0/ |egrep "libos|librfb|librdr|libnetwork|libunixcommon"; \
Expand Down Expand Up @@ -228,4 +233,4 @@ RUN apt.sh \
libjpeg62-turbo
# libcrypt1
RUN find /rootfs;
RUN /rootfs/usr/local/tigervnc/bin/Xvnc -version
# RUN /rootfs/usr/local/tigervnc/bin/Xvnc -version

0 comments on commit 78e1d11

Please sign in to comment.