From 16fea414cc762dca0b5ed6c4ff897f1a18a5e577 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Mon, 25 Mar 2024 11:36:59 -0500 Subject: [PATCH] _GLIBCXX_USE_CXX11_ABI=0 --- recipe/build_openmm.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/recipe/build_openmm.sh b/recipe/build_openmm.sh index d2d377c..109f068 100644 --- a/recipe/build_openmm.sh +++ b/recipe/build_openmm.sh @@ -51,6 +51,7 @@ CMAKE_FLAGS+=" -DSWIG_EXECUTABLE=$(which swig)" if [[ "$target_platform" == linux-* ]]; then export LDFLAGS="$LDFLAGS -static-libstdc++ -Wl,--exclude-libs,ALL -Wl,-rpath,$ORIGIN/../OpenMM.libs/lib" + export CXXFLAGS=$CXXFLAGS -D_GLIBCXX_USE_CXX11_ABI=0" elif [[ "$target_platform" == osx-* ]]; then export LDFLAGS="$LDFLAGS -Wl,-rpath,@loader_path/../OpenMM.libs/lib -Wl,-rpath,@loader_path/." fi