about summary refs log tree commit diff
diff options
context:
space:
mode:
-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
-
-
-