浏览代码

fix `./TTREngine: symbol lookup error: /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0: undefined symbol: drmGetDevice2` (image now functional)

Fabian Peter Hammerle 5 年之前
父节点
当前提交
e07c26465f
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      Dockerfile

+ 1 - 0
Dockerfile

@@ -24,6 +24,7 @@ RUN mkdir /toontown-rewritten/engine \
 USER player
 VOLUME /toontown-rewritten/engine
 WORKDIR /toontown-rewritten/engine
+ENV LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libdrm.so.2
 # TODO required?
 ENV QT_X11_NO_MITSHM=1
 CMD /toontown-rewritten/launcher/Launcher