1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-24 23:47:07 +00:00
termux-packages/packages/php-imagick/disable-openmp.patch
2022-09-15 11:42:40 +09:00

13 lines
278 B
Diff

To avoid linking against shared libomp.so.
--- a/config.m4
+++ b/config.m4
@@ -62,6 +62,7 @@
AC_MSG_CHECKING(omp_pause_resource_all usability)
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
+ #error
#include <omp.h>
]],[[
omp_pause_resource_all(omp_pause_hard);