summaryrefslogtreecommitdiffstats
path: root/tensor-libs.patch
diff options
context:
space:
mode:
Diffstat (limited to 'tensor-libs.patch')
-rw-r--r--tensor-libs.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/tensor-libs.patch b/tensor-libs.patch
new file mode 100644
index 0000000..42fe7b3
--- /dev/null
+++ b/tensor-libs.patch
@@ -0,0 +1,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