diff --git a/deb12/src/Dockerfile.compile2 b/deb12/src/Dockerfile.compile2 index a487dbd..eefda34 100644 --- a/deb12/src/Dockerfile.compile2 +++ b/deb12/src/Dockerfile.compile2 @@ -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 \ @@ -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"; \ @@ -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