about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2026-08-21 09:45:24 -0500
committerFrederick Muriuki Muriithi2026-08-21 12:05:13 -0500
commitea3796d38c2dfeeafd79465518626feff727da74 (patch)
tree0ef475849f87b2c353be3e3a29a6fe0a37241c33
parent6254c4b441fdbebd09e3774b9cc5d6e13a829e37 (diff)
downloadBNW-ea3796d38c2dfeeafd79465518626feff727da74.tar.gz
Use pkgconf to find libRmath
Use the libRmath provided by the system rather than the one bundled
with the code (this will be removed).
-rw-r--r--var_lib_genenet_bnw/build.sh5
1 files changed, 1 insertions, 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
-
-
-