summaryrefslogtreecommitdiffstats
path: root/tensor-libs.patch
blob: c7855cf2dfd63502f79d9b9291b02cd1be362e0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/ext/config.m4 b/ext/config.m4
index 2b130c0..90b7e1c 100644
--- a/ext/config.m4
+++ b/ext/config.m4
@@ -20,9 +20,7 @@ if test "$PHP_TENSOR" = "yes"; then
 		PHP_ADD_INCLUDE($OPENBLAS_DIR)
 	fi
 
-	if ! test "x-lopenblas -llapacke -lgfortran" = "x"; then
-		PHP_EVAL_LIBLINE(-lopenblas -llapacke -lgfortran, TENSOR_SHARED_LIBADD)
-	fi
+	PHP_EVAL_LIBLINE(-lopenblas, TENSOR_SHARED_LIBADD)
 
 	AC_DEFINE(HAVE_TENSOR, 1, [Whether you have Tensor])
 	tensor_sources="tensor.c kernel/main.c kernel/memory.c kernel/exception.c kernel/debug.c kernel/backtrace.c kernel/object.c kernel/array.c kernel/string.c kernel/fcall.c kernel/require.c kernel/file.c kernel/operators.c kernel/math.c kernel/concat.c kernel/variables.c kernel/filter.c kernel/iterator.c kernel/time.c kernel/exit.c tensor/algebraic.zep.c