From 7c2f345116e76b7cb7eb7f803a4db4eaa2c0fd71 Mon Sep 17 00:00:00 2001 From: Benoit LELANDAIS Date: Mon, 24 Jun 2024 16:10:37 +0200 Subject: [PATCH] Compile tetgen with fpic --- dockerfiles/Dockerfile.cmake-cgcore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dockerfiles/Dockerfile.cmake-cgcore b/dockerfiles/Dockerfile.cmake-cgcore index 2176054..eed3b25 100644 --- a/dockerfiles/Dockerfile.cmake-cgcore +++ b/dockerfiles/Dockerfile.cmake-cgcore @@ -53,6 +53,8 @@ RUN PRJ=mesquite-2.3.0 &&\ RUN PRJ=tetgen1.6.0 &&\ curl -L http://www.tetgen.org/1.5/src/tetgen1.6.0.tar.gz | tar xz --directory src &&\ cd src/${PRJ} &&\ + cp makefile makefile.old &&\ + sed "s%CXX = g++%CXX = g++ -fPIC%g" makefile.old > makefile &&\ make &&\ make tetlib &&\ mkdir ${INSTALL_DIR}/${PRJ} &&\