From 01796ab9a1e044b1fa6f48807b19667543673633 Mon Sep 17 00:00:00 2001
From: Scott Mindock <srmindock@wisc.edu>
Date: Tue, 16 Apr 2024 18:19:17 +0000
Subject: [PATCH] where

---
 distro/scripts/adl_cots.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/distro/scripts/adl_cots.sh b/distro/scripts/adl_cots.sh
index 40b64fc..04c7a32 100755
--- a/distro/scripts/adl_cots.sh
+++ b/distro/scripts/adl_cots.sh
@@ -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="${LDFLAGS}"  && \
+    ./configure  --prefix=${USER_COTS_PATH} --exec-prefix="${USER_COTS_PATH}" --with-hlregion="${USER_COTS_PATH}/lib" CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" LDFLAGS=" -static ${LDFLAGS}"  && \
     make   && \
     make install   && \
     unset LDFLAGS   && \
-- 
GitLab