summaryrefslogtreecommitdiffstats
path: root/tensor-libs.patch
blob: 42fe7b3775a9c78fac7bf24fcfa0341caad7e1d6 (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 -lpthread" = "x"; then
-		PHP_EVAL_LIBLINE(-lopenblas -llapacke -lgfortran -lpthread, 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/arithmetic.zep.c