From ea3796d38c2dfeeafd79465518626feff727da74 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Fri, 21 Aug 2026 09:45:24 -0500 Subject: Use pkgconf to find libRmath Use the libRmath provided by the system rather than the one bundled with the code (this will be removed). --- var_lib_genenet_bnw/build.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/var_lib_genenet_bnw/build.sh b/var_lib_genenet_bnw/build.sh index 7f63840d..c2975ff4 100644 --- a/var_lib_genenet_bnw/build.sh +++ b/var_lib_genenet_bnw/build.sh @@ -1,9 +1,6 @@ #!/bin/bash -gcc ./localscore/network_score.c ./localscore/libRmath.so -lm -o network_score +gcc ./localscore/network_score.c $(pkgconf --libs libRmath) -lm -o network_score gcc ./print_structure/structure.c -lm -o structure cd ./k-best/src/ sh buildk_poster.sh - - - -- cgit 1.4.1