From f222ab6b29b780c36187c3ba1d40ee6b9f17f869 Mon Sep 17 00:00:00 2001
From: Scott Mindock <srmindock@wisc.edu>
Date: Tue, 16 Apr 2024 20:26:59 +0000
Subject: [PATCH] where

---
 distro/scripts/adl_cots.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/distro/scripts/adl_cots.sh b/distro/scripts/adl_cots.sh
index 04c7a32..f0e3f73 100755
--- a/distro/scripts/adl_cots.sh
+++ b/distro/scripts/adl_cots.sh
@@ -471,7 +471,7 @@ mk_hl_region()
     install_the_source $tar_name   && \
     export HDF5_INSTALL_DIR=${USER_COTS_PATH} && \
     export CPPFLAGS="-I${USER_COTS_PATH}/include"  && \
-    export LDFLAGS="-L${USER_COTS_PATH}/lib64 -L${USER_COTS_PATH}/lib"  && \
+    export LDFLAGS="-static -L${USER_COTS_PATH}/lib64 -L${USER_COTS_PATH}/lib"  && \
     cd ${BUILD}/hdf5_HL*  && \
     linc=`pwd`  && \
     make clean  && \
@@ -494,7 +494,7 @@ mk_nagg(){
     install_the_source ${tar_name}  && \
     cd nagg-1.6.2  && \
     patch -p1 <  ${COTS_HOME}/scripts/revised_nagg.patch   && \
-    ./configure  --prefix=${USER_COTS_PATH} --exec-prefix="${USER_COTS_PATH}" --with-hlregion="${USER_COTS_PATH}/lib" CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" LDFLAGS=" -static ${LDFLAGS}"  && \
+    ./configure  --prefix=${USER_COTS_PATH} --exec-prefix="${USER_COTS_PATH}" --with-hlregion="${USER_COTS_PATH}/lib" CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" LDFLAGS=" ${LDFLAGS}"  && \
     make   && \
     make install   && \
     unset LDFLAGS   && \
-- 
GitLab